Skip to content

Latest commit

 

History

History
59 lines (42 loc) · 1.56 KB

PLAYWRIGHT.md

File metadata and controls

59 lines (42 loc) · 1.56 KB

Playwright

Documentation

Javascript

  • pnpm create playwright
  • Language? >> Javascript
  • Where to put your end-to-end tests? >> tests
  • Add a Github Actions workflow? (y/N) >> false
  • Install Playwright browsers (can be done manually via 'pnpm exec playwright install')? (Y/n) >> true

Typescript

  • pnpm create playwright
  • Language? >> Typescript
  • Where to put your end-to-end tests? >> tests
  • Add a Github Actions workflow? (y/N) >> false
  • Install Playwright browsers (can be done manually via 'pnpm exec playwright install')? (Y/n) >> true

Python

Run tests

Axe

Install

Even though not mentioned in the official docs page https://playwright.dev/docs/accessibility-testing You do need to install axe-core before you can use it.

npm

npm install @axe-core/playwright

pnpm

pnpm install @axe-core/playwright