Selenium 4.24 Released!

Today we’re happy to announce that Selenium 4.24 has been released!

We’re very happy to announce the release of Selenium 4.24.0 for Javascript, Ruby, Python, .NET, Java and the Grid! Links to everything can be found on our downloads page.

Noteworthy changes per language

  • Java
    • BiDi Prompt/Alert Test Fix: Fixed prompt/alert related tests if BiDi is enabled.
    • Execute Script API: Added execute script high-level API for BiDi.
    • JSpecify Annotations: Added JSpecify annotations for WebDriver, WebElement, SearchContext, and other interfaces.
    • Dom Mutation Handler Support: Added DOM mutation handler support for BiDi.
    • Close HttClient on Session Failure: Ensured HttClient is closed if starting the session fails.
    • System Property to Disable Tracing: Added a system property to disable tracing. (c8676eff10)
    • See all changes

  • JavaScript
    • High-Level Script Command for BiDi: Added a high-level script command for BiDi.
    • Authentication Handlers for BiDi: Added authentication handlers for BiDi.
    • Expose Selenium Version for Node.js: Exposed the Selenium version for Node.js.
    • See all changes

  • .NET
    • Migration to System.Text.Json: Migrated from Newtonsoft.Json to System.Text.Json package.
    • See all changes

  • Python
    • Unhandled Prompt Behavior: Added unhandled prompt behavior to ‘ignore’ option if BiDi is enabled.
    • Mypy Error Fixes: Fixed mypy errors for various modules.
    • Pytest Configuration Update: Moved pytest configuration settings to pyproject.toml.
    • Global Default Timeout Override: Allowed overriding GLOBAL_DEFAULT_TIMEOUT.
    • See all changes

  • Ruby
    • Deprecate WebStorage JS Methods: Deprecated WebStorage JavaScript methods.
    • See all changes

  • Rust
    • Skipping Drivers and Browsers in Path: Included arguments for skipping drivers and browsers in the path. (a056044d9c)
    • Use Debug Format Specifier: Used the Debug format specifier to display error messages. (d8a7172a2a)
    • Firefox Version Discovery: Used Firefox history major releases endpoint for version discovery. (02d6903006)
    • See all changes

Contributors

Special shout-out to everyone who helped the Selenium Team get this release out!

Selenium

Selenium Docs & Website

Docker Selenium

Selenium Team Members

Thanks as well to all the team members who contributed to this release:

Stay tuned for updates by following SeleniumHQ on X (Formerly Twitter) or LinkedIn!

Happy automating!

Last modified August 28, 2024: Adding 4.24 blog post (9bc739dc9)