playwright-page-object
playwright-page-object copied to clipboard
Simple automation test framework. Page Object Model implementation with Playwright
Page Object Model Pattern with Playwright

This repository contains simple automation test framework written with TypeScript and Playwright and implements Page Object Model Pattern.
If you want to run test locally, please follow these steps:
- Clone this repository
- Make sure you have
node.jsinstalled. If you don't, please visit official website for instructions - Run
npm installto install node modules - That's it, now you can run tests with
npm run test- it will run test in 3 browsers (chromium, firefox, webkit) in parallel.
If you want to run it in headed mode, then change configuration to headless: true in playwright.config.js