Clarify if "browsingContext.captureScreenshot" command with "origin=viewport" should take into account scrollbar dimensions #592
Labels
browsingContext
Browsing Context module
needs-discussion
Issues to be discussed by the working group
At the moment, it's not fully clear in the get the origin rectangle algorithm for the case of
origin=viewport
if we should take into account scrollbar dimensions when calculating the viewport width and height. The text says, that we should use VisualViewport width and height (which would mean not including scrollbar), but thewidth
andheight
are linked to DOMRect (which would mean including scrollbar).The WebDriver Classic spec refers to DOMRect.
Where CDP, from what I've understood, seems to default to
VisualViewport
.The text was updated successfully, but these errors were encountered: