-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[🚀 Feature]: Node.js version with firefox missing full page screenshot option #13301
Comments
@mrm-ot, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
This issue is looking for contributors. Please comment below or reach out to us through our IRC/Slack/Matrix channels if you are interested. |
I have added example code with screenshot at the end python
Node.js
|
Landed changes with commit 111941b ! Closing as resolved. |
This issue has been automatically locked since there has not been any recent activity since it was closed. Please open a new issue for related bugs. |
Feature and motivation
I have tried python version with firefox driver, it has a extra method for firefox
driver.save_full_page_screenshot(screenshot_path)
.Samething is missing for Node.js version.
We can use
const image = await body.takeScreenshot(true)
to take screenshot of whole page but it not same assave_full_page_screenshot
.body.takeScreenshot
it will scroll to the bottom when taking screenshot and if you have fixed header, header will be at the end of the page.driver.takeScreenshot
does not take screenshot of whole page.I assume it is a firefox only feature and uses built-in firefox screenshot tool. It works well with floating button and fixed header.
Usage example
The text was updated successfully, but these errors were encountered: