Solution skill
Remove CDP support for Firefox browser
Complete solution
Shows how to fix remove CDP support for Firefox browser. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Upgrade to 4.29.0 or newer; the release notes cover the change. [pujagani (contributor)]: CDP support for Firefox was removed in Selenium 4.29.0.
Steps
- Issue SeleniumHQ/selenium#11736 (closed, 48 comments): ### Feature and motivation Firefox's implementation of ChromeDevTools protocol (CDP) is half-baked and not complete. This leads to errors when trying to use certain CDP APIs and tends to cause CI failures. Firefox is focused on implementing the W3C-compliant BiDi protocol. https://wpt.fyi/results/webdriver/tests/bidi?label=experimental&label=master&aligned&view=subtest is a good way to track the progress.
- [pujagani (contributor)]: CDP support for Firefox was removed in Selenium 4.29.0. Upgrade to 4.29.0 or newer; the release notes cover the change.
When to use
You are seeing this: Issue SeleniumHQ/selenium#11736 (closed, 48 comments): ### Feature and motivation Firefox's implementation of ChromeDevTools protocol (CDP) is half-baked and not complete. Use this skill when you run into "Remove CDP support for Firefox browser".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
Versions mentioned in the source: Selenium 4.29.0. If you are on something much newer or older, the details may have shifted.
Why this happens
This leads to errors when trying to use certain CDP APIs and tends to cause CI failures.
Sources
- https://wpt.fyi/results/webdriver/tests/bidi?label=experimental&label=master&aligned&view=subtest
- https://github.com/SeleniumHQ/selenium/issues/11736
Evidence
In https://github.com/SeleniumHQ/selenium/issues/11736, the reporter asked: Issue SeleniumHQ/selenium#11736 (closed, 48 comments): ### Feature and motivation Firefox's implementation of ChromeDevTools protocol (CDP) is half-baked and not complete. This leads to errors when trying to use certain CDP APIs and tends to cause CI failures. Firefox is focused on implementing the W3C-compliant BiDi protocol. https://wpt.fyi/results/webdriver/tests/bidi?label=experimental&label=master&aligned&view=subtest is a good way to track the progress. The verified answer: [pujagani (contributor)]: CDP support for Firefox was removed in Selenium 4.29.0. Upgrade to 4.29.0 or newer; the release notes cover the change. Source thread: https://github.com/SeleniumHQ/selenium/issues/11736
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_2HK7pSGmvc7Vez-BUQ-2VQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Remove CDP support for Firefox browser <span>— Vectle</span></a>