(context)
| 384 | } |
| 385 | |
| 386 | async _withinBegin(context) { |
| 387 | if (this.isWeb) { |
| 388 | return super._withinBegin(context) |
| 389 | } |
| 390 | if (context === 'webview') { |
| 391 | return this.switchToWeb() |
| 392 | } |
| 393 | if (typeof context === 'object') { |
| 394 | if (context.web) return this.switchToWeb(context.web) |
| 395 | if (context.webview) return this.switchToWeb(context.webview) |
| 396 | } |
| 397 | return this.switchToContext(context) |
| 398 | } |
| 399 | |
| 400 | _withinEnd() { |
| 401 | if (this.isWeb) { |
no test coverage detected