()
| 30 | } |
| 31 | |
| 32 | async init() { |
| 33 | if (!(await this._driver.getCapabilities()).get('webSocketUrl')) { |
| 34 | throw Error('WebDriver instance must support BiDi protocol') |
| 35 | } |
| 36 | |
| 37 | this.bidi = await this._driver.getBidi() |
| 38 | } |
| 39 | |
| 40 | /** |
| 41 | * Performs the specified actions on the given browsing context. |
no test coverage detected