Skip to content

Commit

Permalink
Opt-in to new headless mode
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter authored Jul 28, 2023
1 parent 18bb9aa commit 94cf995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/commands/benchmark-web-vitals.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export async function handler( opt ) {
const { number: amount } = opt;
const results = [];

const browser = await puppeteer.launch();
const browser = await puppeteer.launch({ headless: "new" });

for await ( const url of getURLs( opt ) ) {
const { completeRequests, metrics } = await benchmarkURL( browser, {
Expand Down

0 comments on commit 94cf995

Please sign in to comment.