Skip to content

Latest commit

 

History

History
51 lines (41 loc) · 1.11 KB

README.md

File metadata and controls

51 lines (41 loc) · 1.11 KB

Playwright Demo Project

Playwright Automated Testing Tool Demo, GitHub Actions used to run the tests on push

Prerequisites

You will need the following installed on your computer.

Installation

  • git clone <repository-url> this repository
  • cd playwright-demo
  • npm install

Running Playwright tests (runs headless by default)

npx playwright test

or headed

npx playwright test --headed

or headed with nicely formatted html report

npx playwright test --headed --reporter=html

on specific browser

npx playwright test --browser=firefox

on all browsers

npx playwright test --browser=all

DEBUGging Playwright tests

to run in DEBUG mode, run the following command in terminal

$env:PWDEBUG=1

then

npx playwright test