Closed

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);