Created
June 23, 2020 09:12
-
-
Save shriyaRam/66ae85b560134f816615c4be4960bd28 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let connect = '#navExpand > ul > li > a' | |
await page.waitForSelector(connect) | |
let connectlink = await page.$$eval(connect, am => am.filter(e => e.href).map(e => e.href)) | |
await page.goto(connectlink[6]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment