Playwright Testing framework by Pandiya rajan A
-
Ensure that Node.js 10+ is installed https://nodejs.org/en/download/
-
Clone the repo and switch to master
$ git clone https://github.com/Pandicool/playwrightFramework.git
$ cd playwrightFramework
$ git checkout master
- Execute the command to install the npm dependencies
$ npm install
- Executing all the test in headed mode
$ npm run test
- Executing specfic test case in specfic browser in headed mode and debug mode
$ npm run test:<browserName> <testName>
Note: Refer to package.json to know more scripts