/scraping-with-playwright

Simple example of extracting data from a web page with playwright

Primary LanguageJavaScript

Script using playwright

Simple example of extracting data from a web page with playwright

Actions

  • open a browser
  • visit the page
  • click on an input field
  • write letter 'a' in the input field
  • take a screenshot
  • collect the data
  • write the data in a json file

Run from master

git clone https://github.com/josanescod/scraping-with-playwright.git
cd scraping-with-playwright
npm install
node app.js