Skip to content

abdxlRafay/playwright-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

playwright-tests

Automated browser testing using Playwright and Python.

Overview

A test automation suite built with Playwright and Python to validate real-world web application behaviour. The suite covers core user flows including page load verification, search functionality, and automated screenshot capture for visual evidence collection.

Built to demonstrate practical QA automation skills including test structure, assertion logic, and reproducible evidence capture.

Features

  • βœ… Page load validation β€” confirms pages respond and render correctly
  • πŸ” Search functionality testing β€” automates input and verifies results
  • πŸ“Έ Automated screenshot capture β€” saves visual evidence on test execution
  • πŸ§ͺ Structured, readable test cases using Playwright's Python API

Tech Stack

  • Python 3.x
  • Playwright (via playwright Python package)
  • GitHub for version control and documentation

Setup & Installation

1. Clone the repository

git clone https://github.com/abdxlRafay/playwright-tests.git
cd playwright-tests

2. Install dependencies

pip install playwright
playwright install

3. Run the tests

python test_google.py

Screenshots will be saved automatically in the project directory upon execution.

Project Structure

playwright-tests/
β”‚
β”œβ”€β”€ test_google.py       # Main test file β€” page load, search, screenshot
β”œβ”€β”€ screenshot.png       # Auto-captured screenshot from latest test run
└── README.md

About

Automated browser testing using Playwright and Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages