Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
devops: fix protocol generation with root on Linux (#1327)
Max Schmitta24cce8b74ce
diff --git a/utils/protocol-types-generator/index.js b/utils/protocol-types-generator/index.jsindex 1b9ee382c6..c51f2833d1 100644--- a/utils/protocol-types-generator/index.js+++ b/utils/protocol-types-generator/index.js@@ -10,7 +10,7 @@ async function generateChromiunProtocol(revision) {if (revision.local && fs.existsSync(outputPath))return;const playwright = await require('../../index').chromium;- const browserServer = await playwright.launchServer({ executablePath: revision.executablePath });+ const browserServer = await playwright.launchServer({ executablePath: revision.executablePath, args: ['--no-sandbox'] });const origin = browserServer.wsEndpoint().match(/ws:\/\/([0-9A-Za-z:\.]*)\//)[1];const browser = await playwright.connect({ wsEndpoint: browserServer.wsEndpoint() });const page = await browser.newPage();