Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

GeckoDriver 0.16.0 not taking full Page Screenshot #687

Closed
anukriti-chawla opened this issue Apr 26, 2017 · 4 comments
Closed

GeckoDriver 0.16.0 not taking full Page Screenshot #687

anukriti-chawla opened this issue Apr 26, 2017 · 4 comments

Comments

@anukriti-chawla
Copy link

GeckoDriver Version 0.16.0
Firefox 51
selenium 3.4
java 1.8
I am trying take full page screenshot but the following code is taking screenshot of only in view webpage.
This issue persists since many previous versions of geckodriver. When this will get resolved.
Code to take Screenshot is :

String screenshotBase64 = ((TakesScreenshot) driver).getScreenshotAs(OutputType.BASE64);

@serpro69
Copy link

This is working fine for me with selenium_3.4.0+gecko_0.16.0+ff_53.0:

TakesScreenshot ts=(TakesScreenshot)driver;
File source=ts.getScreenshotAs(OutputType.FILE);

Also, you shouldn't use ff 51 with latest version of gecko and selenium as mentioned in the release notes

@anukriti-chawla
Copy link
Author

@sergioleone
Hi
I used ff 53.0, gecko 0.16 and selenium 3.4.0
But even then it is not taking full page screenshot. Only taking screenshot of first (upper) view of page.

@andreastt
Copy link
Contributor

Duplicate of #570.

See my comment there for some further information on full-document screenshots. The tl;dr is that WebDriver does not officially support these, but that we can do them in geckodriver.

@lock
Copy link

lock bot commented Aug 17, 2019

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have run into an issue you think is related, please open a new issue.

@lock lock bot locked and limited conversation to collaborators Aug 17, 2019
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants