Skip to content

Commit

Permalink
Replaced deprecated watFor() function with waitForTimeout()
Browse files Browse the repository at this point in the history
  • Loading branch information
pklaschka committed Sep 14, 2020
1 parent 22b7f78 commit 8b53c12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ if (process.argv[2] === '-h' || process.argv[2] === '--help') {

console.log(`${checked - 1}/${found}\t Checking link: `, link);
await page.goto(link);
await page.waitFor(100);
await page.waitForTimeout(100);


const content = await page.content();
Expand Down

0 comments on commit 8b53c12

Please sign in to comment.