* Use [webdriverio](https://webdriver.io/docs/api.html) API inside a test. * * First argument is a description of an action. * Second argument is async function that gets this helper as parameter. * * { [`browser`](https://webdriver.io/docs/api.html)) } object from WebDriver API is av
(description, fn)
| 784 | * @param {function} fn async functuion that executed with WebDriver helper as argument |
| 785 | */ |
| 786 | useWebDriverTo(description, fn) { |
| 787 | return this._useTo(...arguments) |
| 788 | } |
| 789 | |
| 790 | async _failed() { |
| 791 | if (this.context !== this.root) await this._withinEnd() |
no test coverage detected