- npm int(run this command in your project folder)
- npm install selenium-webdriver
- npm install mocha
- npm install chai
- npm install chromedriver --chromedriver_version=LATEST
- open package.json and edit this line "scripts": { "test": "echo "Error: no test specified" && exit 1" }
to this:
"scripts": { "test": "mocha MakeApponitment.js" }
- for run file run this command: npm test