mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
fix(chrome): add disable-dev-shm-usage so Chrome starts in CI
This commit is contained in:
1 parent
69a9e7eb87
commit
d3665fc7c3
1 file changed
+3
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user