Commit ea605eb
committed
Fix Percy/Puppeteer sandbox error in GitHub Actions
Added --no-sandbox and --disable-setuid-sandbox flags to Puppeteer
launch options to fix the browser launch failure in GitHub Actions.
The error was caused by Ubuntu 23.10+ disabling unprivileged user
namespaces with AppArmor, preventing Chromium's sandbox from working
in containerized CI environments.
These flags are standard practice for running headless Chrome in CI/CD
pipelines and are recommended by the Puppeteer troubleshooting guide.1 parent c312122 commit ea605eb
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| |||
0 commit comments