- Install the chromedriver package via:
npm install chromedriver --saveor install with a local binary via:
npm install chromedriver --chromedriver_filepath=C:\\YOUR_PROJECT_PATH\\chromedriver.zip- Install packages.
npm install- Create a folder "tests" and place
test.jsinside it. - Run the tests by using the command
nightwatch - Run individual tests with the command
nightwatch --test tests\\test.js --testcase demoTestGoogle