Open KenzoM opened 7 years ago
Just wondering, any progress in this issue?
I've come across the same issue. It's impossible to checkViewport() does not work.
checkViewport() does not work(!) on same conditions...
Facing the same issue, checkViewport does not work after scroll
The problem
Pertain the same issue in wdio-visual-regression
I'm facing issues when I am trying to take screenshots and applying visual regression (with multiple different viewports to check desktop and mobile view) at the bottom of a page.
This is the error I am faced with:
TypeError: "value" argument is out of bounds
test.js
wdio.js
It seems to work fine when I use visual regression at the top of the page, but when I scroll to the bottom it breaks.
I've managed to take screenshot with
saveScreenShot()
API, and that worked fine, but not much luck on thecheckViewPort()
Environment
Link to Selenium/WebdriverIO logs
Please remember that, with sample code; it's easier to reproduce bug and much faster to fix it.