google / semantic-locators Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Consider adding combinators to allow for locators to find the {cell} {button 'Mark resolved'} which is a sibling of a {cell 'Buy milk'}
.
This would add significant complexity to the language and implementation. It may never be a good idea to implement, but this issue can be used to track any use cases.
Describe the bug
Invalid exports path in package.json, cause require module failed.
According to this documentation , "All paths defined in the "exports" must be relative file URLs starting with ./.".
However we got
"exports": {
".": {"require": "dist/src/semantic_locators.js"},
"./gen":{"require": "dist/src/gen/index.js"}
},
@
To Reproduce
Steps to reproduce the behavior:
When ever require semantic locator into a js file, and run it directly in node (without any other module resolver , like webpack , or even jest)
this log come along:
Error [ERR_INVALID_PACKAGE_TARGET]: Invalid "exports" main target "dist/src/semantic_locators.js" defined in the package config /xxx/node_modules/semantic-locator/package.json;
targets must start with "./"
Expected behavior
can be required successfully.
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
I currently have a failing test that uses semantic locators and the failure is:
matched 2 elements, but expected to match 1
Is there a way to say take the first? Or n'th?
Describe the feature
An integration of semantic-locators in dotnet, following the same logic as the java integration.
Use case
Selenium provides dotnet bindings
Are there supposed to be testing toolings for this project?
Describe the feature
Please support semantic-locators works in iframe.
accname
used to use node instanceof HTMLElement
, that will not work on elements that belong to other windows/frames.
It seems that this problem got fixed, but never publish to npm?
google/accname@466d7e9
Use case
I'm trying to add a custom command to cypress, and cypress runs everything inside an iframe
Awesome library. Thx. @AlexLloyd0
Describe the feature
Allow for using semantic locators with Selenium 4 in a Python environment.
Use case
I want to use the element.accessbile_name feature from Selenium 4 alongside this library.
Steps to reproduce
Create a requirements.txt
selenium==4
semantic-locators==2.1.0
Call pip3 install -r requirements.txt
Causes the following error:
ERROR: Cannot install selenium==4 and semantic-locators==2.1.0 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested selenium==4
semantic-locators 2.1.0 depends on selenium<4.0.0 and >=3.141.0
Also start enforcing commit comment styles.
Currently the GitHub actions does not perform a build of dotnet, this removes visibility over breaking changes.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.