test: run new headless for the docker test (#10568)
This commit is contained in:
parent
e3dd5968ca
commit
e6265ee353
@ -1,7 +1,7 @@
|
||||
const puppeteer = require('puppeteer');
|
||||
|
||||
(async () => {
|
||||
const browser = await puppeteer.launch();
|
||||
const browser = await puppeteer.launch({headless: 'new'});
|
||||
const page = await browser.newPage();
|
||||
await page.goto('https://example.com');
|
||||
await browser.close();
|
||||
|
Loading…
Reference in New Issue
Block a user