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 ...

Get AngularJS Web Application Development Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.