()
| 540 | } |
| 541 | |
| 542 | _beforeSuite() { |
| 543 | // Skip browser start in dry-run mode (used by check command) |
| 544 | if (store.dryRun) { |
| 545 | this.debugSection('Dry Run', 'Skipping browser start') |
| 546 | return |
| 547 | } |
| 548 | |
| 549 | // Start browser if not manually started and not already running |
| 550 | // Browser should start in singleton mode (restart: false) or when restart strategy is enabled |
| 551 | if (!this.options.manualStart && !this.isRunning) { |
| 552 | this.debugSection('Session', 'Starting singleton browser session') |
| 553 | return this._startBrowser() |
| 554 | } |
| 555 | } |
| 556 | |
| 557 | async _before(test) { |
| 558 | // Skip browser operations in dry-run mode (used by check command) |
nothing calls this directly
no test coverage detected