Skip to content

Instantly share code, notes, and snippets.

@anthonyjdella
Created March 21, 2018 02:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anthonyjdella/b8bc569b340a0b08d0a21e4de9b9db8b to your computer and use it in GitHub Desktop.
Save anthonyjdella/b8bc569b340a0b08d0a21e4de9b9db8b to your computer and use it in GitHub Desktop.
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