Change8

Migrating to Selenium selenium-4.29.0

Version selenium-4.29.0 introduces 1 breaking change. This guide details how to update your code.

Released: 2/20/2025

1
Breaking Changes
5
Migration Steps
22
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

Locale.ROOTsetCacheBehaviorBidiNetworkResponseHandlerPageSizePrintOptionsDevToolsDomains.InitializeDomainsJsonEnumMemberConverterJsonSerializerContextDriverServiceChromiumOptionsDriverOptionsActionsNavigateSwitchToManageCommandFirefoxProfileNetworkInteractionsMoqpaketdead nodes service intervalFirefox CDP

Breaking Changes

Issue #1

Removal of Firefox CDP support across Java, JavaScript, Ruby, Python, and .NET may break code that relies on Firefox CDP APIs. Update code to use alternative mechanisms (e.g., BiDi) or remove CDP calls.

Migration Steps

  1. 1
    Remove or replace any usage of Firefox CDP APIs in Java, JavaScript, Ruby, Python, and .NET projects.
  2. 2
    If using BiDi `setCacheBehavior`, ensure the driver version supports the command.
  3. 3
    Update code that configures dead node service intervals to use the new configurable setting (Java).
  4. 4
    Adjust logging configuration to rely on Selenium logging options rather than Java logging defaults (Java).
  5. 5
    Review and update any code that depends on CDP deprecation warnings now suppressed when BiDi is enabled (Java).

Release Summary

This release adds several BiDi enhancements, improves page‑size handling, updates Grid UI, and introduces extensive nullability annotations, while removing Firefox CDP support which may require code changes.

Need More Details?

View the full release notes and all changes for Selenium selenium-4.29.0.

View Full Changelog