We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9701148 commit a111e47Copy full SHA for a111e47
code/test/integration/browser/src/index.ts
@@ -63,7 +63,7 @@ const height = 800;
63
type BrowserType = 'chromium' | 'firefox' | 'webkit';
64
65
async function runTestsInBrowser(browserType: BrowserType, endpoint: url.UrlWithStringQuery, server: cp.ChildProcess): Promise<void> {
66
- const browser = await playwright[browserType].launch({ headless: !Boolean(args.debug) });
+ const browser = await playwright[browserType].launch({ headless: !Boolean(args.debug), args: ['--headless=new'], });
67
const context = await browser.newContext();
68
69
const page = await context.newPage();
0 commit comments