Playwright enables reliable end-to-end testing for web applications. Providing a set of APIs to automate Chromium, Firefox and WebKit browsers. Using the Playwright API, you can write JavaScript code to create new browser pages, navigate to URLs, and interact with the elements on a page.
Together with a test runner, Playwright can be used to automate user interactions to validate and test web applications.
The present project allows a sweep on the Quero Bolsa e Busca Pé website, as a form of study for the e2e tests (end to end). Thus, it was possible to obtain the following information:
- URL
- Course name
- University name
- Course type
- Address
- Id
- Image URL
- Product URL
- Product's name
- Availability
- Price
##: computer: Run on your PC
- Cloning the project
$ git clone https://github.com/RayzaOliveira/web-scraping-with-playwright
- Running the Application
# Access the project directory
$ cd web-scraping-with-playwright
# Install the dependencies
$ yarn
# or
$ npm i
# Launch the web application
$ yarn start
# or
$ npm run start