Puppeteer

DevOps / Build, Test, Deploy / Headless Browsers
Needs advice
on
Scrapy
selenium
and
Puppeteer
in

I work in a company building web apps with AngularJS. I started using Selenium for tests automation, as I am more familiar with Python. However, I found some difficulties, like the impossibility of using IDs and fixed lists of classes, ending up with using xpaths most, which unfortunately could change with fixes and modifications in the code.

So, I started using Puppeteer, but I am still learning. It seems easier to find elements on the webpage, even if the creation and managing of arrays of elements seem to be a little bit more complicated than in Selenium, but it could be also due to my poor knowledge of JavaScript.

Any comments on this comparison and also on comparisons with similar tools are welcome! :)

READ MORE
5 upvotes·14K views
Replies (1)
Avatar of sherpadee
Senior Developer at roeschke & roesche Werbeagentur·
Recommends
Protractor

For testing angularjs and Angular, it is better to go with protractor because it' better integrated, easier and faster. Sometimes it is difficult to capture the web elements in AngularJS applications using JUnit or Selenium Webdriver. Protractor supports Angular-specific locator strategies, which allows you to test Angular-specific elements without any setup effort on your part and without sync problems you have with selenium only.

READ MORE
3 upvotes·4.4K views