Skip to content

Commit 080b383

Browse files
rickyrobinettmgirouard
authored andcommitted
update selector to prevent time out
1 parent e39ca98 commit 080b383

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crawl.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const puppeteer = require('puppeteer');
6161
await page.goto(url);
6262

6363
console.log("Waiting for page to render...")
64-
await page.waitForSelector('text/Cloudflare API Schema')
64+
await page.waitForSelector('text/Cloudflare API')
6565

6666
// Wait for text from an expanded sidebar item
6767
await page.waitForSelector('text/List Accounts')

0 commit comments

Comments
 (0)