Understanding Protractor
Protractor is new to the scene in AngularJS and is intended to fully supplant the now deprecated Angular Scenario Runner.
How it works…
Selenium WebDriver (also referred to as just "WebDriver") is a browser automation tool that provides faculties to script the control of web browsers and the applications that run within them. For the purposes of end-to-end testing, the test runner manifests as three interacting components, as follows:
The formal Selenium WebDriver process, which takes the form of a standalone server with the ability to spawn a browser instance and pipe native events into the page
The test process, which is a Node.js script that runs and checks all the test files
The actual browser instance, which runs the application
Protractor is built on top of WebDriver. It acts as both an extension of WebDriver and also provides supporting software utilities to make end-to-end testing easier. Protractor includes the webdriver-manager
binary, which exists to make the...