Skip to content
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

Add blog explaining the removal of CDP support for Firefox #2159

Merged
merged 3 commits into from
Mar 3, 2025

Conversation

pujagani
Copy link
Contributor

@pujagani pujagani commented Feb 3, 2025

User description

Thanks for contributing to the Selenium site and documentation!
A PR well described will help maintainers to review and merge it quickly

Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, and help reviewers by making them as simple and short as possible.

Description

Motivation and Context

Types of changes

  • Change to the site (I have double-checked the Netlify deployment, and my changes look good)
  • Code example added (and I also added the example to all translated languages)
  • Improved translation
  • Added new translation (and I also added a notice to each document missing translation)

Checklist

  • I have read the contributing document.
  • I have used hugo to render the site/docs locally and I am sure it works.

PR Type

Documentation


Description

  • Added a blog post announcing the removal of Chrome DevTools Protocol (CDP) support for Firefox.

  • Explained the transition to WebDriver BiDi as the future of cross-browser automation.

  • Provided context on Selenium's deprecation policy and alignment with browser vendor changes.

  • Included resources for users to transition from CDP to WebDriver BiDi.


Changes walkthrough 📝

Relevant files
Documentation
remove-cdp-firefox.md
Added blog post on CDP removal for Firefox                             

website_and_docs/content/blog/2025/remove-cdp-firefox.md

  • Added a new blog post about the removal of CDP support for Firefox.
  • Explained the rationale behind the transition to WebDriver BiDi.
  • Provided links to additional resources and examples for WebDriver
    BiDi.
  • Highlighted Selenium's commitment to browser-agnostic automation.
  • +18/-0   

    Need help?
  • Type /help how to ... in the comments thread for any questions about Qodo Merge usage.
  • Check out the documentation for more information.
  • Copy link

    netlify bot commented Feb 3, 2025

    👷 Deploy request for selenium-dev pending review.

    Visit the deploys page to approve it

    Name Link
    🔨 Latest commit 28a4e8e

    @pujagani pujagani marked this pull request as ready for review March 3, 2025 06:40
    Copy link
    Contributor

    qodo-merge-pro bot commented Mar 3, 2025

    PR Reviewer Guide 🔍

    Here are some key observations to aid the review process:

    ⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
    🧪 No relevant tests
    🔒 No security concerns identified
    ⚡ Recommended focus areas for review

    Link Validation

    The Firefox CDP deprecation announcement link should be validated to ensure it will be accessible when this blog post is published in 2025

    Starting with Selenium 4.29.0, CDP support for Firefox has been fully removed—and for good reason. Selenium’s CDP implementation for Firefox was always partial, meaning it never had complete feature parity with Chrome. Meanwhile, Firefox is shifting towards WebDriver BiDi, the future of cross-browser automation. Aligning with this, Firefox has announced that starting with Firefox 129, CDP will no longer be enabled by default. Read more here: [https://fxdx.dev/deprecating-cdp-support-in-firefox-embracing-the-future-with-webdriver-bidi/].
    Content Review

    The WebDriver BiDi documentation link should be verified to ensure it points to the most up-to-date examples and documentation

    If you were using CDP in Selenium for Firefox, now is the time to switch to WebDriver BiDi. Start your journey with Selenium’s WebDriver BiDi examples [here](https://www.selenium.dev/documentation/webdriver/bidi/w3c/).

    Copy link
    Contributor

    qodo-merge-pro bot commented Mar 3, 2025

    PR Code Suggestions ✨

    Explore these optional code suggestions:

    CategorySuggestion                                                                                                                                    Impact
    General
    Fix broken Markdown link format

    The Firefox version link is not properly formatted as a clickable Markdown link,
    which makes it inaccessible to readers. Convert the URL to proper Markdown link
    syntax.

    website_and_docs/content/blog/2025/remove-cdp-firefox.md [14]

    -Starting with Selenium 4.29.0, CDP support for Firefox has been fully removed—and for good reason. Selenium's CDP implementation for Firefox was always partial, meaning it never had complete feature parity with Chrome. Meanwhile, Firefox is shifting towards WebDriver BiDi, the future of cross-browser automation. Aligning with this, Firefox has announced that starting with Firefox 129, CDP will no longer be enabled by default. Read more here: [https://fxdx.dev/deprecating-cdp-support-in-firefox-embracing-the-future-with-webdriver-bidi/].
    +Starting with Selenium 4.29.0, CDP support for Firefox has been fully removed—and for good reason. Selenium's CDP implementation for Firefox was always partial, meaning it never had complete feature parity with Chrome. Meanwhile, Firefox is shifting towards WebDriver BiDi, the future of cross-browser automation. Aligning with this, Firefox has announced that starting with Firefox 129, CDP will no longer be enabled by default. [Read more here](https://fxdx.dev/deprecating-cdp-support-in-firefox-embracing-the-future-with-webdriver-bidi/).
    • Apply this suggestion
    Suggestion importance[1-10]: 6

    __

    Why: The suggestion correctly identifies and fixes improper Markdown link formatting that could affect readability and accessibility. Converting the bracketed URL to proper Markdown link syntax improves the document's usability.

    Low
    • More

    @pujagani pujagani merged commit 7b4d21b into SeleniumHQ:trunk Mar 3, 2025
    3 checks passed
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    1 participant