-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Closed
Labels
C-nodejsJavaScript BindingsJavaScript BindingsI-enhancementSomething could be betterSomething could be betterR-help wantedIssues looking for contributionsIssues looking for contributions
Description
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 as save_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
await firefoxDriver.saveFullPageScreenshot(screenshot_path);
Metadata
Metadata
Assignees
Labels
C-nodejsJavaScript BindingsJavaScript BindingsI-enhancementSomething could be betterSomething could be betterR-help wantedIssues looking for contributionsIssues looking for contributions