mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
docs: fix and reorder (#11509)
This commit is contained in:
parent
06cacfa9c1
commit
8733b96b96
@ -9,7 +9,7 @@ resources if you want to learn more about WebDriver BiDi:
|
|||||||
|
|
||||||
## Automate with Chrome and Firefox
|
## Automate with Chrome and Firefox
|
||||||
|
|
||||||
Firefox support has almost reaching feature parity with the previous CDP-based
|
Firefox support has almost reached feature parity with the previous CDP-based
|
||||||
implementation. To see which features are fully supported with WebDriver BiDi we
|
implementation. To see which features are fully supported with WebDriver BiDi we
|
||||||
used the [Puppeteer test suite](https://puppeteer.github.io/ispuppeteerwebdriverbidiready/). Currently,
|
used the [Puppeteer test suite](https://puppeteer.github.io/ispuppeteerwebdriverbidiready/). Currently,
|
||||||
we still have fewer than
|
we still have fewer than
|
||||||
@ -19,11 +19,6 @@ CDP implementation in Firefox but we also have more than
|
|||||||
[82](https://puppeteer.github.io/ispuppeteerwebdriverbidiready/firefox-delta.json)
|
[82](https://puppeteer.github.io/ispuppeteerwebdriverbidiready/firefox-delta.json)
|
||||||
new tests that work with WebDriver BiDi and that didn't work with CDP.
|
new tests that work with WebDriver BiDi and that didn't work with CDP.
|
||||||
|
|
||||||
For Chrome, around 68% of the tests are currently passing with WebDriver BiDi so
|
|
||||||
the CDP-based implementation remains more powerful. Some of the Puppeteer
|
|
||||||
functionality is relying on CDP even with WebDriver BiDi enabled. Therefore, the
|
|
||||||
test pass rate is currently higher than that one of Firefox.
|
|
||||||
|
|
||||||
Example of launching Firefox with WebDriver BiDi:
|
Example of launching Firefox with WebDriver BiDi:
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
@ -38,6 +33,11 @@ const page = await browser.newPage();
|
|||||||
await browser.close();
|
await browser.close();
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For Chrome, around 68% of the tests are currently passing with WebDriver BiDi so
|
||||||
|
the CDP-based implementation remains more powerful. Some of the Puppeteer
|
||||||
|
functionality is relying on CDP even with WebDriver BiDi enabled. Therefore, the
|
||||||
|
test pass rate is currently higher than that one of Firefox.
|
||||||
|
|
||||||
Example of launching Chrome with WebDriver BiDi:
|
Example of launching Chrome with WebDriver BiDi:
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
|
Loading…
Reference in New Issue
Block a user