diff --git a/404.html b/404.html index 2fd5cbf33af..7e2fd6878c3 100644 --- a/404.html +++ b/404.html @@ -6,7 +6,7 @@
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 used the Puppeteer test suite. Currently, we still have fewer than @@ -28,12 +28,12 @@ tests that are failing with Firefox and WebDriver BiDi compared to the previous CDP implementation in Firefox but we also have more than 82 new tests that work with WebDriver BiDi and that didn't work with CDP.
+Example of launching Firefox with WebDriver BiDi:
+import puppeteer from 'puppeteer';
const browser = await puppeteer.launch({
product: 'firefox',
protocol: 'webDriverBiDi',
});
const page = await browser.newPage();
...
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 Firefox with WebDriver BiDi:
-import puppeteer from 'puppeteer';
const browser = await puppeteer.launch({
product: 'firefox',
protocol: 'webDriverBiDi',
});
const page = await browser.newPage();
...
await browser.close();
Example of launching Chrome with WebDriver BiDi:
import puppeteer from 'puppeteer';
const browser = await puppeteer.launch({
product: 'chrome',
protocol: 'webDriverBiDi',
});
const page = await browser.newPage();
...
await browser.close();