Commit cecb359
committed
Fix Chrome session crash in E2E tests
Two bugs were causing "session not created: Chrome instance exited":
1. createPantherClient() was called with [] and a ChromeOptions object
as plain array values (integer keys 0/1) inside the first argument,
so the options were never applied. Remove the dead ChromeOptions code
and call createPantherClient correctly.
2. --disable-gpu was missing from PANTHER_CHROME_ARGUMENTS. This flag
is required for stable headless Chrome in CI environments (GitHub
Actions / Docker) alongside --disable-dev-shm-usage.
https://claude.ai/code/session_018f3bgBj7bQd4XmWVDPnDtb1 parent a3d604b commit cecb359
2 files changed
+2
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 26 | + | |
32 | 27 | | |
33 | 28 | | |
34 | 29 | | |
| |||
0 commit comments