zinserjan / wdio-screenshot

A WebdriverIO plugin. Additional commands for taking screenshots with WebdriverIO.
MIT License
109 stars 43 forks source link

Scroll to start causes image comparison to fail in Firefox OSX #11

Closed meleyal closed 1 year ago

meleyal commented 8 years ago

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.

zinserjan commented 8 years ago

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.