VikashChauhan51 / playwright-sample

Playwright automation framework skeleton with Typescript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Playwright Sample

Playwright automation framework skeleton with Typescript.

PLAYWRIGHT-SAMPLE
├───.github
│   └───workflows
├───logs
├───node_modules
├───pages
├───playwright-report
├───test-results
├───tests
├───tests-out
└───utils

Local Setup:

  1. Install Microsoft Visual Studio Code IDE. Ignore this if already installed.
  2. Install Playwright VSCode Extension and restart VSCode. Ignore this if already installed.
  3. Install Nodejs on your system. Ignore this if already installed.
  4. Install Git on your system. Ignore this if already installed.
  5. git clone https://github.com/VikashChauhan51/playwright-sample.git or download master branch zip and extract code.
  6. Open project folder with VSCode.
  7. Run npm install command to restore all packages.
  8. Run npm run test:chromium command to run test for Chrome browser only.

References:

About

Playwright automation framework skeleton with Typescript.


Languages

Language:TypeScript 100.0%