Run Tasks

Open up your package.json file and add couple of run tasks to the scripts section.

"scripts": {
    "update": "node_modules/.bin/webdriver-manager update",
    "ptr": "node_modules/.bin/protractor test/protractor.conf.js"
}

This will allow you to have a clean way to run your suite soon.

Updating Selenium and ChromeDriver

$ npm run update

To run Protractor test suite.

$ npm run ptr

results matching ""

    No results matching ""