Open brettle opened 9 years ago
yeah this one is weird. The document height is not always the same for some reasons. I tried to fix it by applying that dirty - 20px
hack but it didn't work out. I don't think it is a webdrivercss related problem and more one of my test setup. Therefor I gonna fix it next time I work on this project. Thanks for pointing that out. Will keep this issue as reminder.
Could this be also related to the scrollbar issue in #93?
probably yeah this one was weird. It passed on my machine (mac) but failed in travis.
I'm trying to locally run the tests that accompany webdrivercss. So far I've done:
All tests pass except one:
When I look at the test/spec/imageCapturing.js:44, I see:
where size.height is the height of the captured image. Why should that height be 20 pixels less than the document height? When I run the test as above it appears to be exactly equal to the document height, which is what I would naively expect. Thoughts?
FWIW, I'm running on Fedora 21.