NEW323422
[WebDriver][BiDi] Honor ImageFormat type and quality in browsingContext.captureScreenshot
https://bugs.webkit.org/show_bug.cgi?id=323422
Summary [WebDriver][BiDi] Honor ImageFormat type and quality in browsingContext.captu...
Timothy Olusanya
Reported 2026-09-04 02:11:59 PDT
Captures are currently always encoded as PNG. Remaining work: thread format.type and format.quality through to the encoder so image/jpeg is honored, with unsupported types falling back to image/png per HTML's "a serialization of the bitmap as a file", which the BiDi encode step delegates to. WPT: capture_screenshot/format.py.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-09-11 02:12:13 PDT
Note You need to log in before you can comment on or make changes to this bug.