You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@priceey I don't know if you have solved this or still need help with it, but I solved this exact problem with setting the window to point (0,0) after starting web driver. So I just used something like: driver.manage().window().setPosition(new Point(0, 0)). This removed the problem with tiny differences in the footer for me.
Hello,
I'm currently trying out ashot to take some comparison images on a website.
I have managed to make a screen shot where the page scrolls with
Screenshot entirePageScreenShot = new AShot().shootingStrategy
(ShootingStrategies.viewportRetina(100, 0, 0, 2)).takeScreenshot(driver);
However when I do
ImageDiff diff = new ImageDiffer().makeDiff(screenShotImage, libraryImagePng);
The image diff fails. Looking at the diff image, it seems there are tiny differences in the footer, which I think might be related to the scroll.
What would be the best way avoid this issue?
thanks
The text was updated successfully, but these errors were encountered: