Open Bug 1861737 Opened 1 year ago Updated 12 days ago

Add support for "format" argument to browsingContext.captureScreenshot

Categories

(Remote Protocol :: WebDriver BiDi, task, P2)

task
Points:
2

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: whimboo, Assigned: ldebeasi)

References

(Blocks 1 open bug)

Details

(Whiteboard: [webdriver:backlog])

Attachments

(1 file)

Via https://github.com/w3c/webdriver-bidi/pull/561 the format argument has been added to browsingContext.captureScreenshot. Tests will be synced via bug 1861653.

We should add this argument and support for all the image formats that we can support.

The related part of the HTML spec is at:
https://html.spec.whatwg.org/multipage/canvas.html#a-serialisation-of-the-bitmap-as-a-file

Points: --- → 2
Priority: -- → P2
Whiteboard: [webdriver:backlog]
Assignee: nobody → ldebeasi
Status: NEW → ASSIGNED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: