Playwright automation framework skeleton with Typescript.
PLAYWRIGHT-SAMPLE
├───.github
│ └───workflows
├───logs
├───node_modules
├───pages
├───playwright-report
├───test-results
├───tests
├───tests-out
└───utils
- Install Microsoft Visual Studio Code IDE. Ignore this if already installed.
- Install Playwright VSCode Extension and restart VSCode. Ignore this if already installed.
- Install Nodejs on your system. Ignore this if already installed.
- Install Git on your system. Ignore this if already installed.
git clone https://github.com/VikashChauhan51/playwright-sample.git
or downloadmaster
branch zip and extract code.- Open project folder with VSCode.
- Run
npm install
command to restore all packages. - Run
npm run test:chromium
command to run test forChrome
browser only.