Taking entire page screenshot using AShot in Katalon Studio


#22

I did a workaround.

WebUI.takeScreenshot(RunConfiguration.getReportFolder()+ “\filename.png”)
WebDriver driver = DriverFactory.getWebDriver()
Screenshot screenshot = new AShot().
coordsProvider(new WebDriverCoordsProvider()).
shootingStrategy(ShootingStrategies.viewportPasting(timeout)).
takeScreenshot(driver)
//Just printing
println( RunConfiguration.getReportFolder()+"\filename.png")

	ImageIO.write(screenshot.getImage(), "PNG", new File(RunConfiguration.getReportFolder()+ "\\filename.png"))

#23

I do not think it is possible, as Katalon team has not disclosed a way how to customize the report.