garris / BackstopJS

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

Compare screenshots in firefox instead of headless chrome #1190

Open PraveenAsokan opened 4 years ago

PraveenAsokan commented 4 years ago

Is it possible to run the test and compare the screenshots on firefox browser and also can we run backstopjs and compare the screenshots in browserstack?

PraveenAsokan commented 4 years ago

So far, we can able to achieve the visual comparision with headless chrome in local. Can we able to do the same with firefox in local? Also can we able to run it with browserstack browsers. Eg: If i run the backstop reference command, it should capture the screenshots from browser stack browser(eg: edge browser) and then i run backstop test,it should capture the screenshot for different URL in browserstack edge browser and compare it. Is this possible with backstop?

fuhlig commented 4 years ago

Regarding Firefox-Support: Puppeteer 3+ supports Firefox (experimental). Not sure if this will work out-of-the-box with BackstopJS.

Backstop would require a update of the puppeteer dependency (backstop: 2, current puppeteer: 5 => 3 major versions behind)

casperno commented 2 years ago

This case can probably be closed as Playwright has Firefox support (that's not experimental)

     engine: "playwright",
        engineOptions: {
            browser: "chromium",
        },