Automated browser testing using Playwright and Python.
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.
- β 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
- Python 3.x
- Playwright (via
playwrightPython package) - GitHub for version control and documentation
1. Clone the repository
git clone https://github.com/abdxlRafay/playwright-tests.git
cd playwright-tests2. Install dependencies
pip install playwright
playwright install3. Run the tests
python test_google.pyScreenshots will be saved automatically in the project directory upon execution.
playwright-tests/
β
βββ test_google.py # Main test file β page load, search, screenshot
βββ screenshot.png # Auto-captured screenshot from latest test run
βββ README.md