ashot
ashot copied to clipboard
PDF viewed in browser not taking fullscreen snapshot
driver.get("https://mozilla.github.io/pdf.js/web/viewer.html");
Screenshot screenshot = new AShot().shootingStrategy(ShootingStrategies.viewportPasting(1000)).takeScreenshot(driver);
Only takes a snapshot of the top of the page. Im assuming this will not work with a pdf viewer?