This repository contains examples and information for using Playwright, a Node.js library for browser automation, to automate tasks and tests.
Playwright is a Node.js library developed by Microsoft that provides a high-level API to control Chromium, Firefox and WebKit browsers. IT enables you to automate web interactions, perform end-to-end testing, and scrape data from websites.
- Cross-browser support (Chromium, Firefox, WebKit)
- Headless and Headful modes
- Simultaneous browser contexts
- Page and element interaction
- Network interception and modification
- Emulation of devices and geolocation
- Parallel test execution
- Node.js: Make sure you have Node.js installed. You can download it from nodejs.org.
- Clone this repository:
git clone https://github.com/alphabin1/playwright-automation-sample.git cd playwright-automation
- Install the dependencies:
npm install
- Execute automated tests:
npm test
Check out the video below to see Maestro in action:
Screen.Recording.2023-08-18.at.12.59.55.PM.mov
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.