()
| 671 | } |
| 672 | |
| 673 | async _stopBrowser() { |
| 674 | this.withinLocator = null |
| 675 | this._setPage(null) |
| 676 | this.context = null |
| 677 | popupStore.clear() |
| 678 | this.isAuthenticated = false |
| 679 | await this.browser.close() |
| 680 | if (this.isRemoteBrowser) { |
| 681 | await this.browser.disconnect() |
| 682 | } |
| 683 | } |
| 684 | |
| 685 | async _evaluateHandeInContext(fn, handle, ...args) { |
| 686 | // If handle is provided, evaluate directly on it to avoid "JavaScript world" errors |
no test coverage detected