garris / BackstopJS

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

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

Open shivamk012 opened 1 year ago

shivamk012 commented 1 year 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 1 year 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