ashot icon indicating copy to clipboard operation
ashot copied to clipboard

Issue with Chrome driver

Open gauravevive opened this issue 7 years ago • 3 comments

Hi this is my command : Screenshot screenshot = new AShot().shootingStrategy(ShootingStrategies.viewportPasting(100000)).takeScreenshot(driver); ImageIO.write(screenshot.getImage(),"PNG",new File(locationPath+imageNameWithExtension));

Im getting this overlapped image (attached ) any help is appreciated webscriptprogress

gauravevive avatar Nov 21 '17 09:11 gauravevive

Also experiencing this issue

menaheme avatar May 27 '18 15:05 menaheme

Faced with this problem too. How to deal with that?

2Frez avatar Sep 01 '18 17:09 2Frez

I also faced this problem on Chrome. But the full image is fine if we run in headless mode:

ChromeOptions options = new ChromeOptions(); options.setHeadless(true); driver = new ChromeDriver(options);

clearstep1 avatar Sep 03 '18 04:09 clearstep1