This repository contains a sample project demonstrating how to use Microsoft Playwright for end-to-end testing.
It includes the Playwright setup, basic test scripts, configuration, and documentation to help you get started quickly.
This guide walks you through how to set up Playwright from scratch using VS Code, Node.js, and the terminal.
git clone https://github.com/rajendra1503/playwright-tutorial.git
cd playwright-tutorialnpm installnpx playwright testYou can also launch the Playwright Test UI:
npx playwright test --uiplaywright-tutorial/
├── docs/
│ └── Installing Playwright.docx # Word document guide
├── tests/
│ └── example.spec.js # Sample test
├── tests-examples/
│ └── demo-todo-app.spec.js # Demo test from Playwright
├── .github/
├── node_modules/
├── .gitignore
├── package.json
├── package-lock.json
├── playwright.config.js # Playwright configuration
└── README.md
- Node.js
- Playwright
- Visual Studio Code
Rajendra Gokhale
📧 rajagokhale@hotmail.com
Happy testing! ✨🐞🎭