Skip to content

getScreenshot() ignores current window height and produces a full page screenshot

The doc on getScreenshot() currently says: "Capture a fullscreen screenshot of the current window."

The doc on getFullPageScreenshot() currently says "Capture a screenshot of the entire page."

Unfortunately, when I use getScreenshot(), I seem to always get back a full page screenshot instead of a screenshot of the current window.

This feels like a bug.