O'Reilly logo

Angular UI Development with PrimeNG by Oleg Varaksin, Sudheer Jonna

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing and configuring Protractor

The preferred method is to install Protractor globally with the following command:

npm install protractor -g

Protractor will automatically download the Selenium Standalone Server and all the browser drivers.

The Selenium Standalone Server is normally needed if you want to connect to remote machine(s) and run tests against browser(s) on remote machine(s). It is often used with Selenium-Grid when you distribute your tests over multiple machines.

Execute this command to update the Selenium Standalone Server and the browser drivers:

webdriver-manager update

Ensure that you have installed the jasmine-core package locally as shown in the Setting up unit testing with Jasmine and Karma section . The tests ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required