This is a getting started project with Playwright
- NodeJS version
v18.16.0
Note: I recommed to use NVM to manage NodeJS versions
npm install
npx prettier --write .
npm run lint
npx playwright test --project chromium
npx playwright show-report
export APPLITOOLS_API_KEY=${YOUR_APPLITOOLS_API_KEY}
where:
${YOUR_APPLITOOLS_API_KEY}
is something like:Ag4hfEVDIMykuCpWk61ppg3VJ9fkK0uht100HXnvGPlag220
(Check with your service provider if you do not have it)
Note
If you are using Windows based platform:
$Env:APPLITOOLS_API_KEY="YOUR_APPLITOOLS_API_KEY"
where:
${apiKey}
Is your Applitools api key