Commit e047d4c
fix(advanced): use addArguments('-headless') — Options.headless() was removed in selenium-webdriver 4 (PER-8195)
CI's fresh npm install pulls selenium-webdriver 4.36 where firefox.Options().headless() no longer exists (TypeError: .headless is not a function), so the advanced spec never took a snapshot. Use addArguments('-headless'), matching the modern API.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 56e702c commit e047d4c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments