What is the benefit of using protractor for applications non angular?

627 views Asked by At

I'm currently implementing automated tests and would like to know what are the benefits of automating non-angular applications with protractor.

What are the advantages comparing with the use only of webdriverJS?

1

There are 1 answers

0
alecxe On

protractor provides a convenient and well-designed API and an abstraction layer over the WebDriverJS javascript selenium bindings. It is actively developed and maintained by Google developers.

Aside from browser, by, element, element.all, $ and $$ global syntactic sugar and multiple unique locators and an easy way to add custom locators, there is a set of built-in Expected Conditions that are used with browser.wait() and help to sync with non-angular apps.

Also, don't forget about the convenient way to configure your protractor tests.

Also, there are several built-in plugins that extend protractor's built-in features. Currently there are Accessibility, Timeline, ngHint and Console plugins implemented.


In other words, with protractor you'll get everything that pure vanilla webdriver provides and much more on top.


Also, see: