Add support for "format" argument to browsingContext.captureScreenshot
Categories
(Remote Protocol :: WebDriver BiDi, task, P2)
Tracking
(firefox135 fixed)
Tracking | Status | |
---|---|---|
firefox135 | --- | fixed |
People
(Reporter: whimboo, Assigned: ldebeasi)
References
(Blocks 1 open bug)
Details
(Whiteboard: [webdriver:m14][webdriver:external][wptsync upstream][webdriver:relnote])
Attachments
(2 files)
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
Reporter | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•4 months ago
|
||
Updated•4 months ago
|
Assignee | ||
Comment 2•3 months ago
|
||
Updated•2 months ago
|
Updated•2 months ago
|
Comment 5•2 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b1f9cbc68dc4
https://hg.mozilla.org/mozilla-central/rev/34c0ad83ab4e
Reporter | ||
Comment 7•2 months ago
|
||
Liam, thanks a lot for working on this new feature which will now be released in Firefox 135 early in February. Even through it was a bit more complicated (including the issues with hg) we hope you enjoyed and learned a lot. If you have further interests please let us know. Thanks!
Assignee | ||
Comment 8•2 months ago
|
||
Yeah this was great! I learned a lot. I'd be happy to help on anything else you may need.
Reporter | ||
Comment 9•2 months ago
|
||
(In reply to Liam DeBeasi from comment #8)
Yeah this was great! I learned a lot. I'd be happy to help on anything else you may need.
Wonderful! Given that you already improved a lot I wonder if bug 1860955 might be a good thing for you to work on? Note that it would also require an update to the Python tests, if you don't mind that.
Reporter | ||
Updated•2 months ago
|
Reporter | ||
Updated•2 months ago
|
Assignee | ||
Comment 10•2 months ago
|
||
Hey there! Sorry, I thought I had replied already, but I guess not. Working on https://bugzilla.mozilla.org/show_bug.cgi?id=1860955 sounds good to me. I'm getting back up to speed post-holidays, so I'll take a look at this soon.
Reporter | ||
Updated•1 month ago
|
Description
•