custom$
The custom$
allows you to use a custom strategy declared by using browser.addLocatorStrategy
.
Read more on custom selector stratgies in the Selector docs.
Usage
browser.custom$(strategyName, strategyArguments)
Parameters
Name | Type | Details |
---|---|---|
strategyName | string | |
strategyArguments | param |
Examples
customStrategy.js
loading...
example.html
loading...
customStrategy.js
loading...