lundi 17 décembre 2018

Is it possible to use puppeteer to compare a screenshot with the ui elements of a webpage and find differences?

I am looking for any documentation or help with this. Right now for testing whether UI elements appear on the screen I just check if that class or ID is loaded, for things like the login form, title, logo, submit button, input fields, etc.

I thought I remember seeing Puppeteer could help with analyzing a screenshot and then loading the webpage and comparing the two, but I could be way off.

Also for anyone who use Puppeteer, what's the best way to verify UI elements load on a webpage?

Thanks

Aucun commentaire:

Enregistrer un commentaire