New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: experimental WebDriver BiDi support with Firefox #11412
Conversation
55ae0bd
to
a835641
Compare
@sadym-chromium @mathiasbynens PTAL. Any suggestions on the content for faq.md or any suggestions to document BiDi better? |
a835641
to
eceb3f2
Compare
Q: Does Puppeteer support WebDriver BiDi? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. We have quite good FF + BiDi support for announcing it as experimental.
73f175f
to
4d6a7cc
Compare
After discussing with @jecfish and testing the website with these changes locally I think it might be better if we create a new page about WebDriver BiDi where we list what is supported and what is not. WDYT? |
6fd123d
to
7e59d4d
Compare
Added a few comments on the docs. Otherwise, LGTM. |
d37946b
to
25292f6
Compare
ddab3f2
to
23a4d9c
Compare
4a0a511
to
b182157
Compare
bc6ffa7
to
e50baba
Compare
Co-authored-by: Jecelyn Yeen <5917927+jecfish@users.noreply.github.com>
Co-authored-by: Jecelyn Yeen <5917927+jecfish@users.noreply.github.com>
e50baba
to
b0d690a
Compare
Previously, it was possible to use Firefox with Puppeteer relying on the Firefox's implementation of a subset of CDP. WebDriver BiDi is a new cross-browser automation protocol similar to CDP but unlike CDP it's a W3C standard meaning that it is well defined and easier to implement by the browser vendors.
This PR releases the option to turn on WebDriver BiDi when launching Firefox and use WebDriver BiDi instead of CDP to communicate with Firefox. The support level of the new protocol for Firefox is experimental and we are looking for your feedback!
The Puppeteer's WebDriver BiDi feature set for Firefox is almost the same as the previous CDP support. Few features that are still missing:
We are constantly working on bringing new features and you can track the progress here and we hope to add support for remaining APIs and Chrome soon. Check out the WebDriver BiDi support to see if a particular API is supported with WebDriver BiDi.
Example of launching Firefox with WebDriver BiDi: