garris / BackstopJS

Catch CSS curve balls.
http://backstopjs.org
MIT License
6.66k stars 602 forks source link

Is there a way to do visual regression testing with seleniun and backstop? #1502

Open shivamk012 opened 9 months ago

shivamk012 commented 9 months ago

Hello, this is a fantastic tool for vrt, but I want to integrate it with selenium scripts. Is there a way for me to execute a Selenium script in a scenario's onReadyScript property, or, if it's possible, can I use a Selenium script to compare two photos and publish the results in an HTML report?

garris commented 9 months ago

Hi, thanks for your interest. There is probably an elegant solution for this -- but it hasn't been built yet. The solution would probably look something like this... https://github.com/garris/ember-backstop