custom$
custom$
を使用すると、browser.addLocatorStrategy
を使用して宣言したカスタム戦略を使用できます。
カスタムセレクタ戦略の詳細については、セレクタドキュメントをご覧ください。
使用法
browser.custom$(strategyName, strategyArguments)
パラメータ
名前 | タイプ | 詳細 |
---|---|---|
strategyName | string | |
strategyArguments | * |
例
customStrategy.js
loading...
example.html
loading...
customStrategy.js
loading...