wdio-screenshot icon indicating copy to clipboard operation
wdio-screenshot copied to clipboard

Scroll to start causes image comparison to fail in Firefox OSX

Open meleyal opened this issue 8 years ago • 1 comments

These lines seem to cause Firefox on OSX to display scroll bars for a short time, which can cause image diffs (via wdio-visual-regression-service) to fail.

meleyal avatar Jun 21 '16 12:06 meleyal

Sorry for the delay.

I can't reproduce this problem on firefox, but I have this issue sometimes with IE 9 .

Have you the same problem with webdrivercss? If webdrivercss works, we have to find the difference... The only real difference i found so far is a different order of statements to hide scrollbars and scroll.

Can you test a a version with a different order of statements? Just make a dirty hack and replace lib/modules/beforeScreenshot.js in your node_Modules with the file of this gist and run your tests again.

zinserjan avatar Jun 27 '16 18:06 zinserjan