Back

Explore Courses Blog Tutorials Interview Questions
0 votes
3 views
in DevOps and Agile by (19.7k points)

I know that we can automate AngularJs apps with Selenium. But we have a separate E2E testing framework that is Protractor for AngularJs apps automation.

Can anyone help me understand why we should use Protractor? Why not Selenium?

1 Answer

0 votes
by (62.9k points)

Protractor is an end-to-end browser automation testing framework that works through WebDriverJs which is a javascript selenium webdriver.

Selenium is a browser automation framework. Selenium includes the Selenium Server, the WebDriver APIs, and the WebDriver browser drivers.

Protractor works in conjunction with Selenium to provide an automated test infrastructure that can simulate a user’s interaction with an Angular application running in a browser or mobile device.

Protractor is a wrapper around WebDriverJS, the JavaScript bindings for Selenium WebDriver API.

 

enter image description here

 

Browse Categories

...