BackstopJS icon indicating copy to clipboard operation
BackstopJS copied to clipboard

Compare screenshots in firefox instead of headless chrome

Open PraveenAsokan opened this issue 5 years ago • 3 comments

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 avatar May 12 '20 22:05 PraveenAsokan

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?

PraveenAsokan avatar Jul 03 '20 09:07 PraveenAsokan

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)

fuhlig avatar Jul 03 '20 12:07 fuhlig

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

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

casperno avatar Nov 18 '22 09:11 casperno