For E2E Testing: which is better selenium or protr

2019-09-04 19:52发布

I recently came to know about protractor framework which provides end to end testing for angular applications.

I would like to know, which test framework suits better for following webstack, either selenium or protractor

Angular, Python and MongoDB.

I am going to use mozilla browser only.

Can anyone please provide your valueable suggestions

2条回答
叛逆
2楼-- · 2019-09-04 20:46

either selenium or protractor

This is an incorrect question. Protractor is itself selenium. Well, it is a wrapper around WebDriverJS - Javascript selenium bindings. And a quite convenient wrapper with a nice and documented API. It is a perfect choice for both Angular and non-Angular applications (you would need to turn the sync off).

查看更多
别忘想泡老子
3楼-- · 2019-09-04 20:51

Protractor is based off using Selenium webdrivers. If you have an Angular app for your entire front-end, I would go with Protractor. If you are going to have a mixed front-end environment, you may want to go with Selenium only.

查看更多
登录 后发表回答