Chapter 8. Testing in Several Browsers with Protractor and WebDriver

Until now, we have been doing some quite advanced testing of our UI view layer, but all these tests have been executed against the Google Chrome browser, which is a fairly modern and powerful browser. This is acceptable if we know that our target audience is going to use this browser. Although in some scenarios, such as an internal private tool, this can be the case, in general any application targeted to the public web is going to be executed in a very heterogeneous set of browsers. Since there are not only different levels of adoptions of the HTML5 API, but also subtle bugs through different browsers, we really need to test our view layer in all the browsers that our audience ...

Get Learning Behavior-driven Development with JavaScript 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.