Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playwright Automation Project

This repository contains automated UI test scripts built using Playwright with JavaScript. The tests cover common web automation scenarios such as dropdown handling, keyboard interactions, mouse hover actions, and element locators.

Tech Stack

  • Playwright — end-to-end testing framework
  • JavaScript (Node.js) — scripting language
  • Playwright Test Runner — for running and reporting tests

Project Structure

playwright_plugin/
├── tests/
│   ├── dropdown.spec.js       # Dropdown selection tests (by value, label, loop)
│   ├── keyboard.spec.js       # Keyboard actions (copy, paste, select all)
│   ├── mousehover.spec.js     # Mouse hover interactions
│   └── prac.spec.js           # Practice / misc test scripts
├── playwright.config.js       # Playwright configuration (browsers, projects)
├── package.json
└── README.md

Setup & Installation

  1. Clone the repository

    git clone https://github.com/your-username/playwright-tests.git
    cd playwright-tests
  2. Install dependencies

    npm install
  3. Install Playwright browsers

    npx playwright install

Running Tests

Run all tests (default browser/project):

npx playwright test

Run a specific test file:

npx playwright test tests/dropdown.spec.js

Run tests in headed mode (see the browser while running):

npx playwright test --headed

Run tests on a specific browser project (e.g. Firefox):

npx playwright test --project=firefox

Run tests using a real installed browser (e.g. Chrome):

npx playwright test --channel=chrome

View Test Report

After a test run, open the HTML report:

npx playwright show-report

Author

Maintained by Mahira — built while learning Playwright automation with JavaScript.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages