WebScrapting automation test was developed using puppeteer is a Node library which provides a high-level API to control Chrome or Chromium over the DevTools Protocol. Puppeteer runs headless by default, but can be configured to run full (non-headless) Chrome or Chromium. https://pptr.dev/
The WebScrapting test gathers information on each account belonging to the user.
- Clone the repository https://github.com/legzy27/WebScrapingTest.git
- Once you download the repository cd into the directory
- Install necessary dependencies with
npm install
command before the tests can run locally - Install puppeteer with
npm install puppeteer
command
- Type
node scrapedata.js
and press enter in command line
- when the test is completed it will write in a json file check account.json
- CTRL + C On MacOS
- CTRL + W On Windows