
Introduction
In the automation testing field, Selenium is one of the most widely used, evergreen automation testing frameworks for web applications. It has recently released versions 4.29.0 and 4.30.0 bringing notable enhancements across various language bindings and components.
Let’s understand the differences between these versions, which is crucial for developers and testers to leverage the latest features of Selenium.
Highlights of Selenium 4.29.0
Ruby
- BiDi Network Response Handler introduced, enhancing bidirectional communication capabilities.
- Support added for ‘provide response’ command in BiDi for better control over network responses.
- Implemented ‘set cache behavior’ command in BiDi to customize caching strategies.
- Firefox CDP support removed to streamline the codebase.
Java
- Date dependency removed to simplify date handling.
- Locale.ROOT added to avoid port formatting issues.
Python
- Fixed installation issues related to source distributions, improving setup experience.
Grid
- Resolved UI issues where live session views couldn’t open.
- Added default sessionTimeout to NodeStatus for backward compatibility.
Key Features of Selenium 4.30.0
.NET
- Annotated CDP as AOT-unsafe for better Ahead-of-Time compilation handling.
- Enhanced nullability annotations across WebElement, SessionId, and capabilities.
- Improved CDP trimming for optimized AOT deployment size.
Ruby (BiDi)
- Support added for setting viewport in browsing contexts.
- Introduced ‘Browser context activate’ command for programmatically activating contexts.
Grid
- Traces added for ‘stop session’ event to aid debugging.
- Introduced a new server start timeout variable for flexible configurations.
Key Differences Between 4.29.0 and 4.30.0
Language-Specific Enhancements
- 4.29.0 improved Ruby’s BiDi support and Java’s date handling.
- 4.30.0 focused on .NET enhancements, especially nullability annotations and AOT support.
Grid Improvements
- Both versions upgraded Grid functionality.
- 4.30.0 added detailed tracing and server timeout configurability.
BiDi Features
- 4.29.0 introduced BiDi network response handling.
- 4.30.0 expanded BiDi with viewport settings and browser context activation.
Conclusion
Finally, Selenium 4.29.0 brought significant updates to Ruby and Java components, while Selenium 4.30.0 focused on .NET improvements and BiDi functionalities.
To learn Selenium and its advancements, Credo Systemz offers expert-led Selenium Training in Chennai. Stay updated and choose the version that best suits your project requirements.
Join Credo Systemz Software Courses in Chennai at Credo Systemz OMR, Credo Systemz Velachery to kick-start or uplift your career path.