Skip to content

Commit

Permalink
Attempt fix on chrome sandbox error on ubuntu 24
Browse files Browse the repository at this point in the history
  • Loading branch information
rly authored Dec 11, 2024
1 parent ef3d888 commit 4484709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/puppeteer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const connect = () => {
});

const browserURL = `http://localhost:${electronDebugPort}`
const browser = output.browser = await puppeteer.launch({ headless: 'new' })
const browser = output.browser = await puppeteer.launch({ headless: 'new', args: ["--no-sandbox"] })
const page = output.page = await browser.newPage();
await page.goto(browserURL);
const endpoint = await page.evaluate(() => fetch(`json/version`).then(res => res.json()).then(res => res.webSocketDebuggerUrl))
Expand Down

0 comments on commit 4484709

Please sign in to comment.