Protractor is an end to end testing framework for AngularJS applications. Protractor runs tests against the applications
running in a real browser, interacting with it as a user would.
- Use npm to install Protractor globally with:
npm install -g protractor
- This will install two command line tools
webdriver-manager. Try running
make sure that protractor is working.
webdriver-manageris a helper tool to easily get an instance of a Selenium-Server running. Use it to download necessary binaries with:
- Now start up the server with
This will start up a Selenium Server and will output a bunch of info logs. Your Protractor test will send requests to this server to control a local browser. You can see information about the status of the server at http://localhost:4444/wd/hub.