Skip to content

This repository provides a complete hands-on introduction to Microsoft Playwright for end-to-end testing. It includes setup instructions, sample test scripts, and documentation to help beginners get started with test automation using JavaScript and VS Code.

Notifications You must be signed in to change notification settings

rajendra1503/playwright-tutorial

Repository files navigation

🎭 Playwright Tutorial

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.


📘 Documentation

🔍 Locator Tests and Their Documentation

This guide walks you through how to set up Playwright from scratch using VS Code, Node.js, and the terminal.


🚀 Getting Started

📂 Clone the Repo

git clone https://github.com/rajendra1503/playwright-tutorial.git
cd playwright-tutorial

📦 Install Dependencies

npm install

🧪 Run Tests

npx playwright test

You can also launch the Playwright Test UI:

npx playwright test --ui

📁 Project Structure

playwright-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

🛠️ Tools Used

  • Node.js
  • Playwright
  • Visual Studio Code

👤 Author

Rajendra Gokhale
📧 rajagokhale@hotmail.com


Happy testing! ✨🐞🎭

About

This repository provides a complete hands-on introduction to Microsoft Playwright for end-to-end testing. It includes setup instructions, sample test scripts, and documentation to help beginners get started with test automation using JavaScript and VS Code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published