mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
test: fix the headless flag in the smoke test (#11894)
This commit is contained in:
parent
acce1d6128
commit
823f8688f2
@ -6,7 +6,7 @@
|
||||
const puppeteer = require('puppeteer');
|
||||
|
||||
(async () => {
|
||||
const browser = await puppeteer.launch({headless: 'new'});
|
||||
const browser = await puppeteer.launch();
|
||||
const page = await browser.newPage();
|
||||
await page.goto('https://example.com');
|
||||
await browser.close();
|
||||
|
Loading…
Reference in New Issue
Block a user