wdio-screenshot
wdio-screenshot copied to clipboard
saveViewportScreenshot starts form top of page
Hi,
saveViewportScreenshot takes scroll offset as starting point and screen dimensions as ending point. This creates images which have height of screenHeight-scrollOffset, which in turn creates problems when we scroll past the height of one screen and try to take a shot.
Is this indended?