Semantic-locators

Latest version: v2.1.0

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

2.0.1

Fixed typo (Java -> Python) in Python README.md

2.0.0

Added

* Semantic Locators are now available in Python! 🐍
* Expose locator generation methods in wrapper libraries. You can now auto-generate semantic locators from Python or Java. e.g. in Java `BySemanticLocator.closestPreciseLocatorFor(element);` will return a semantic locator for `element`.
* Wildcards are now allowed in the middle of locators, e.g. `{button 'April * 2021'}` would match `<button>April 3rd 2021</button>` or `<button>April 30 2021</button>`

Removed

* The `includeHidden` parameter has been removed from all functions. It was hiding a11y bugs in some cases, and had undefined behaviour. See the [commit message](https://github.com/google/semantic-locators/commit/846148ca7405fcdb4d33381ef8fe0c6079ddd847) for details.

Fixed

* Numbers in attributes are now correctly parsed, so `{heading level:1}` will match `<h1>` elements

1.0.0

Semantic locators 1.0.0 release for JavaScript and Java

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.