Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API. Playwright is built to enable cross-browser web automation that is ever-green, capable, reliable and fast.
This Test Automation Framework is created using JavaScript + Playwright + Page Object Model(POM). Which can be used across different web based applications.It is used to make the code more readable, maintainable and reusable.
- VS Code - IDE
- Playwright - framework for Web Testing and Automation
- JavaScript - Programming language
- Allure Reports - Reporting framework
- GitHub - Version control
- Jenkins - CI/CD
git clone https://github.com/keshavjha06/PlaywrightFramework.git
cd PlaywrightFramework
npx playwright test
- Take Screenshots On test failures Method will automatically capture & store the screenshots under /playwright-report directory.
- The framework produce index.html report. It resides in the playwright-report folder.This reports gives the detailed information like screenshots,traces. On clicking these will display detailed descriptions of execution.