Get to Know Protractor
Protractor is one of many testing tools that automate browser-based user interactions. It can be used to script data entry into web forms, perform button clicks, and verify the details returned by a website. Selenium is the most popular among the tools. Protractor makes use of Selenium, runs on Node.js, and provides a fluent JavaScript API to interact with different parts of an HTML page. For programmers using JavaScript, the fluency and convenience of Protractor gives a far better automation experience than directly using Selenium.
To test the TO-DO application created in the previous chapters, we need to get a few things set up. While it’s not much code to write, there’s a lot of details to consider. Trying to figure ...
Get Test-Driving JavaScript Applications 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.