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

saveViewportScreenshot starts form top of page

Open iksilon opened this issue 6 years ago • 0 comments

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?

iksilon avatar Sep 12 '18 11:09 iksilon