0 votes
1 view
in Devops and Agile by (22.5k 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 (57.5k 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

 

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...