Created
March 21, 2018 02:03
-
-
Save anthonyjdella/b8bc569b340a0b08d0a21e4de9b9db8b 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
const page = await browser.newPage(); | |
await page.goto("https://statefarm.csod.com/ats/careersite/search.aspx?site=1&c=statefarm"); | |
await page.click("#ctl00_siteContent_widgetLayout_rptWidgets_ctl03_widgetContainer_ctl00_rptCustomFields_ctl02_customFieldWrapper > button"); | |
await page.click("body > div > ul > li:nth-child(46) > label > span"); | |
await page.click("#ctl00_siteContent_widgetLayout_rptWidgets_ctl03_widgetContainer_ctl00_rptCustomFields_ctl00_customFieldWrapper_ctl00_txtValue"); | |
await page.keyboard.type("technology"); | |
await page.click("#ctl00_siteContent_widgetLayout_rptWidgets_ctl03_widgetContainer_ctl00_btnSearch"); | |
await page.waitFor(2000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment