Skip to main content

Playwright UI Automation Framework

This project is a Playwright end-to-end test automation framework using TypeScript.

Getting Started

Install dependencies

npm install

Run all tests headed mode

npx playwright test --reporter=html --headed

Note : before running tests headed mode click on live view link at top menu

Run all tests headless mode

npx playwright test --reporter=html 
cd playwright-report

see reports

python3 -m http.server 9999 --directory .

Project Structure

  • tests/ - Your test files
  • playwright.config.ts - Playwright configuration

For more info, see Playwright Docs.