diff --git a/index.html b/index.html index f2d116d7..4ad304fe 100644 --- a/index.html +++ b/index.html @@ -10926,12 +10926,12 @@
Screenshots are a mechanism for providing additional visual diagnostic information. - They work by dumping a snapshot of the initial viewport's + They work by dumping a snapshot of the visual viewport's framebuffer as a lossless PNG image. It is returned to the local end as a Base64 encoded string.
WebDriver provides the Take Screenshot command - to capture the top-level browsing context's initial viewport, + to capture the top-level browsing context's visual viewport, and a command Take Element Screenshot for doing the same with the visible region of an element's bounding rectangle after it has been scrolled into view. @@ -10940,15 +10940,15 @@
If either the initial viewport's width or height +
If either the visual viewport's width or height is 0 CSS pixels, return error with error code unable to capture screen. -
Let paint width be the initial viewport's width – +
Let paint width be the visual viewport's width – min(rectangle x coordinate, rectangle x coordinate + rectangle width dimension). -
Let paint height be the initial viewport's height – +
Let paint height be the visual viewport's height – min(rectangle y coordinate, rectangle y coordinate + rectangle height dimension). @@ -11973,6 +11973,7 @@
ScrollIntoViewOptions
block"
inline"
+