* Retrieves the handles of all open window tabs in the browser session. * * @returns {Promise >} A promise that will * be resolved with an array of window handles.
()
| 1271 | * be resolved with an array of window handles. |
| 1272 | */ |
| 1273 | async getAllWindowHandles() { |
| 1274 | if (this.windowHandles) { |
| 1275 | return await this.windowHandles.getAllWindowHandles(); |
| 1276 | } |
| 1277 | return await this.driver.getAllWindowHandles(); |
| 1278 | } |
| 1279 | |
| 1280 | /** |
| 1281 | * Retrieves the handle of the current active window or tab. |
no outgoing calls
no test coverage detected