Commit ec2579c
committed
Fix amOnPage auto-initialization with BROWSER_RESTART=browser
- Allow auto-initialization when manualStart is false
- Prevents 'Cannot navigate: browser is not running' error
- Fixes issue where Before() hooks run before _before() in restart=browser mode
- Only block navigation when manualStart is explicitly enabled1 parent 48a7ddf commit ec2579c
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1503 | 1503 | | |
1504 | 1504 | | |
1505 | 1505 | | |
1506 | | - | |
1507 | | - | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
1508 | 1509 | | |
1509 | 1510 | | |
1510 | 1511 | | |
| |||
0 commit comments