test: run new headless for the docker test (#10568)

This commit is contained in:
Alex Rudenko 2023-07-18 11:33:24 +02:00 committed by GitHub
parent e3dd5968ca
commit e6265ee353
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();