* Switch to the window with a specified handle. * * ```js * const windows = await I.grabAllWindowHandles(); * // ... do something * await I.switchToWindow( windows[0] ); * * const window = await I.grabCurrentWindowHandle(); * // ... do something * await I.switchToWindow( w
(window)
| 2426 | * @param {string} window name of window handle. |
| 2427 | */ |
| 2428 | async switchToWindow(window) { |
| 2429 | await this.browser.switchToWindow(window) |
| 2430 | } |
| 2431 | |
| 2432 | /** |
| 2433 | * {{> closeOtherTabs }} |
no outgoing calls
no test coverage detected