()
| 32 | } |
| 33 | |
| 34 | async init() { |
| 35 | if (!(await this._driver.getCapabilities()).get('webSocketUrl')) { |
| 36 | throw Error('WebDriver instance must support BiDi protocol') |
| 37 | } |
| 38 | |
| 39 | this.bidi = await this._driver.getBidi() |
| 40 | } |
| 41 | |
| 42 | /** |
| 43 | * Retrieves cookies based on the provided filter and partition. |
no test coverage detected