-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while taking screenshots with Remote Chrome driver #72
Comments
Hi @nikhilkr123 , Could you please let us know chrome and chromedriver versions you are using? Can you reproduce this issue consistently or its intermittent? |
@glib-briia Its always reproducible on my Mac (os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.14.6', java.version: '1.8.0_181') with following code docker run -p 4444:4444 selenium/standalone-chrome:3.141.59 Test Code WebDriver driver = new RemoteWebDriver(new URL("http://0.0.0.0:4444/wd/hub"),
new ChromeOptions());
driver.get("https://github.com");
Thread.sleep(5000);
Shutterbug.shootPage(driver, ScrollStrategy.WHOLE_PAGE).getImage();
|
Hi @nikhilkr123 Try using WHOLE_PAGE_SCROLL_AND_STITCH strategy e.g.
Available in v 0.9.5 |
Closing due to inactivity |
InvocationTargetException while taking screenshot of Remote Chrome driver running in Docker.
I am using following code
Shutterbug.shootPage(getWrapper().getWebDriver(), ScrollStrategy.WHOLE_PAGE).getImage();
The text was updated successfully, but these errors were encountered: