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?
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?
                        
protractorprovides a convenient and well-designed API and an abstraction layer over theWebDriverJSjavascript 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 withbrowser.wait()and help to sync with non-angular apps.Also, don't forget about the convenient way to configure your
protractortests.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
protractoryou'll get everything that pure vanilla webdriver provides and much more on top.Also, see: