-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Closed as not planned
Labels
A-needs-triagingA Selenium member will evaluate this soon!A Selenium member will evaluate this soon!I-enhancementSomething could be betterSomething could be better
Description
Feature and motivation
Selenium now (4.27+) warns when Firefox CDP is enabled:
selenium/java/src/org/openqa/selenium/firefox/FirefoxDriver.java
Lines 168 to 172 in 19fc217
| if (reportedUri.isPresent()) { | |
| LOG.warning( | |
| "CDP support for Firefox is deprecated and will be removed in future versions. " | |
| + "Please switch to WebDriver BiDi."); | |
| } |
but at the same time it is enabling it:
selenium/java/src/org/openqa/selenium/firefox/FirefoxOptions.java
Lines 66 to 69 in 9d68245
| // Firefox 129 onwards the CDP protocol will not be enabled by default. Setting this preference | |
| // will enable it. | |
| // https://fxdx.dev/deprecating-cdp-support-in-firefox-embracing-the-future-with-webdriver-bidi/. | |
| addPreference("remote.active-protocols", 3); |
requiring the user to set the Firefox preference to just enable BiDi and suppress the deprecation warning.
Since CDP is deprecated I think Selenium should stop enabling that protocol and remove the preference.
Metadata
Metadata
Assignees
Labels
A-needs-triagingA Selenium member will evaluate this soon!A Selenium member will evaluate this soon!I-enhancementSomething could be betterSomething could be better