This project showcases playwright UI automation examples using test cases from https://automationexercise.com/test_cases
To get the latest code open your IDE terminal and navigate to where you would like the project to reside (usually a dev folder) and run git clone https://github.com/druoid/playwright-automation.git
To run playwright tests locally, your system must have node installed
- In a terminal install NVM (Node version manager) with
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
- Restart terminal, then install Node.js by running the following command
nvm install node
# latest version - Verify npm is installed by running the following command
npm -v
# Should return the npm version
- In your IDE's terminal navigate to the root of the project
- Run
npm install
to install dependencies - Run
npx playwright test