Created
March 21, 2018 01:44
-
-
Save anthonyjdella/d20b8ef328a5529610139d9a6e2cea2e to your computer and use it in GitHub Desktop.
This file contains hidden or 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 jobListLength = await page.evaluate((sel) => { | |
| let jobSelectorID = document.getElementById(sel); | |
| let jobSelectorTagName = jobSelectorID.getElementsByTagName("li"); | |
| return jobSelectorTagName.length; | |
| }, JOB_SELECTOR_ID); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment