Challenge 4: Bypass the Login Form
Goal
Pages are restricted to a logged user. Add a login request to the scraper.
Email is john@doe.com and password is johnjohn.
Documentation
Instructions
  1. Create the agent scraping-challenge-4
  2. Access this page using Puppeteer.Page.goto() and Puppeteer.Page.waitForSelector().
  3. Use the functions Puppeteer.Page.type() and Puppeteer.Page.click() to login using the form and use Puppeteer.Page.waitForSelector() to make sure the data loaded.
  4. Send the data using buster.setResultObject().
Solution