fix(chrome): add disable-dev-shm-usage so Chrome starts in CI

This commit is contained in:
pj committed 2026-06-01 23:06:34 +05:30
1 parent 69a9e7eb87
commit d3665fc7c3
1 file changed
+3
+3
View File
@@ -38,6 +38,9 @@ func New() *Driver {
chromedp.Flag("headless", true),
chromedp.Flag("disable-gpu", true),
chromedp.NoSandbox,
// CI runners give Chrome a tiny /dev/shm; without this the browser
// process hangs on startup and never reports its DevTools socket.
chromedp.Flag("disable-dev-shm-usage", true),
)...,
)
tabCtx, tabCancel := chromedp.NewContext(allocCtx)