(browser, windowSize)
| 2305 | } |
| 2306 | |
| 2307 | async _resizeWindowIfNeeded(browser, windowSize) { |
| 2308 | if (this.isWeb && windowSize === 'maximize') { |
| 2309 | await this._resizeBrowserWindow(browser, 'maximize') |
| 2310 | } else if (this.isWeb && windowSize && windowSize.indexOf('x') > 0) { |
| 2311 | const dimensions = windowSize.split('x') |
| 2312 | await this._resizeBrowserWindow(browser, dimensions[0], dimensions[1]) |
| 2313 | } |
| 2314 | } |
| 2315 | |
| 2316 | /** |
| 2317 | * {{> focus }} |
no test coverage detected