()
| 692 | } |
| 693 | |
| 694 | async _before() { |
| 695 | if (!webdriverio) await this._init() |
| 696 | this.context = this.root |
| 697 | if (this.options.restart && !this.options.manualStart) return this._startBrowser() |
| 698 | if (!this.isRunning && !this.options.manualStart) return this._startBrowser() |
| 699 | if (this.browser) this.$$ = this.browser.$$.bind(this.browser) |
| 700 | return this.browser |
| 701 | } |
| 702 | |
| 703 | async _after() { |
| 704 | if (!this.isRunning) return |
nothing calls this directly
no test coverage detected