2.1.0 • Published 2 years ago

semantic-locators v2.1.0

Weekly downloads
10
License
Apache-2.0
Repository
github
Last release
2 years ago

Semantic Locators in JS/TS

Semantic locators can be used in JS or TS running in the browser.

$ npm install --save-dev semantic-locators

Once installed, use Semantic Locators as follows:

import {findElementBySemanticLocator, findElementsBySemanticLocator} from 'semantic-locators';
import {closestPreciseLocatorFor} from 'semantic-locators/gen'
...
const searchButton = findElementBySemanticLocator("{button 'Google search'}");
const allButtons = findElementsBySemanticLocator("{button}");

const generated = closestPreciseLocatorFor(searchButton); // {button 'Google search'}

General Semantic Locator documentation can be found on GitHub.

2.1.0

2 years ago

2.0.0

3 years ago

1.0.0

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago