Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 928 Bytes

README.md

File metadata and controls

26 lines (15 loc) · 928 Bytes

WebScrapingTest

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.

Installation and Setup

  • 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

Run Test

  • Type node scrapedata.js and press enter in command line

Test Output

  • when the test is completed it will write in a json file check account.json

Close Browser

  • CTRL + C On MacOS
  • CTRL + W On Windows