Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 1.55 KB

README.md

File metadata and controls

40 lines (33 loc) · 1.55 KB

playwright-automation-sample

This repository contains examples and information for using Playwright, a Node.js library for browser automation, to automate tasks and tests.

What is Playwright?

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.

Features

  • 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

Prerequisites

  • Node.js: Make sure you have Node.js installed. You can download it from nodejs.org.

Getting Started

  1. Clone this repository:
    git clone https://github.com/alphabin1/playwright-automation-sample.git
    cd playwright-automation
    
  2. Install the dependencies:
    npm install
    
  3. Execute automated tests:
    npm test
    

Video of Execution

Check out the video below to see Maestro in action:

Screen.Recording.2023-08-18.at.12.59.55.PM.mov

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.