-
Notifications
You must be signed in to change notification settings - Fork 155
Description
Hello I am trying to test out aShot and it only works when I use just webdriver. When trying the viewport scrolling:
Screenshot myScreenshot = new AShot().shootingStrategy(ShootingStrategies.viewportPasting(100)).takeScreenshot(webDriver);
I get the below error:
java.lang.Exception: org.apache.commons.io.IOUtils.toString(Ljava/io/InputStream;Ljava/nio/charset/Charset;)Ljava/lang/String; at ru.yandex.qatools.ashot.util.InnerScript.execute(InnerScript.java:27) at ru.yandex.qatools.ashot.shooting.ViewportPastingDecorator.getFullHeight(ViewportPastingDecorator.java:67) at ru.yandex.qatools.ashot.shooting.ViewportPastingDecorator.getScreenshot(ViewportPastingDecorator.java:41) at ru.yandex.qatools.ashot.shooting.ViewportPastingDecorator.getScreenshot(ViewportPastingDecorator.java:35) at ru.yandex.qatools.ashot.AShot.takeScreenshot(AShot.java:145)
I am confused on what exactly is going on and have updated all my dependencies to match the current version required by aShot/
Thank you for your time on this.