- Install a git client such as git bash
Download and install
- Latest version of Node.js
- Java Development Kit (JDK)
- Make sure you have the environment variable JAVA_HOME set to the path of the respective JDK. (Required for Allure report generation).
git clone https://github.com/charlyautomatiza/starter-playwright.git
npm install
npm run test
npm run test-head
npm run firefox
npm run chromium
npm run webkit
npm run play-report
npm run open-report
After each upgrade of Playwright, the project must be restarted locally with the command:
npm run reinstall
To download the latest versions of the Browsers..