Skip to content

Commit

Permalink
01_scrape: Switch to new headless
Browse files Browse the repository at this point in the history
Seems to work
  • Loading branch information
zhuyifei1999 committed Jul 4, 2023
1 parent 8de366c commit 778523a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 01_scrape/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ class Ctfd2Pages {
}

async run() {
const browser = await puppeteer.launch({headless: true});
const browser = await puppeteer.launch({headless: 'new'});

this.pushpage(this.origin);
this.pushpage(`${this.origin}404`);
Expand Down

0 comments on commit 778523a

Please sign in to comment.