* Set [WebDriver timeouts](https://webdriver.io/docs/timeouts.html) in realtime. * * Timeouts are expected to be passed as object: * * ```js * I.defineTimeout({ script: 5000 }); * I.defineTimeout({ implicit: 10000, pageLoad: 10000, script: 5000 }); * ``` * * @param {*} tim
(timeouts)
| 1047 | * @param {*} timeouts WebDriver timeouts object. |
| 1048 | */ |
| 1049 | defineTimeout(timeouts) { |
| 1050 | return this._defineBrowserTimeout(this.browser, timeouts) |
| 1051 | } |
| 1052 | |
| 1053 | _defineBrowserTimeout(browser, timeouts) { |
| 1054 | return browser.setTimeout(timeouts) |
no test coverage detected