NEW323419
[WebDriver][BiDi] Support the document origin and clip rectangles in browsingContext.captureScreenshot
https://bugs.webkit.org/show_bug.cgi?id=323419
Summary [WebDriver][BiDi] Support the document origin and clip rectangles in browsing...
Timothy Olusanya
Reported 2026-09-04 02:07:27 PDT
browsingContext.captureScreenshot (being added in PR #72949 under bug 288325) validates the origin and clip parameters but always captures the viewport. Remaining work: capture the scrollable document for origin="document"; apply box clip rectangles (including rejecting an empty intersection with the origin rectangle as "unable to capture screen"); apply element clip rectangles once shared references resolve. WPT: capture_screenshot/origin.py::test_origin and capture_screenshot/clip.py.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-09-11 02:08:12 PDT
Note You need to log in before you can comment on or make changes to this bug.