selenium-4.36.0
π¦ seleniumView on GitHub β
β¨ 18 featuresπ 11 fixesπ§ 24 symbols
Summary
This release introduces new BiDi events and modules across Java, Python, .NET, and other language bindings, improves Grid client cleanup and timeout handling, and includes numerous bug fixes and dependency updates.
β¨ New Features
- Added BiDi `history_updated` event test in Python
- Added BiDi `downloadEnd` event for browsing context in Python
- Enabled BiDi `navigate` command usage in network tests (Python)
- Supported WebExtension module in .NET BiDi implementation
- Added flag to enable SafariDriver logging in .NET
- Extended the scope of properties of the HttpCommandExecutor class (Java)
- Unified the Select class and refactored selectByContainsVisibleText and selectByVisibleText methods to remove duplication (Java)
- Added `DownloadInfo` class and test for `onDownloadWillBegin` event (Java BiDi)
- Added test for `onNavigationFailed` event (Java BiDi)
- Serialized base64 encoded strings directly to bytes in .NET BiDi
- Made cookie expiry a TimeSpan in .NET BiDi and later adjusted to unix seconds per spec
- Added helper for old .NET Framework to copy Selenium Manager to output
- Closed HttpClient after session termination in Grid
- Improved readTimeout handling between Router and Node in Grid
- Updated Grid to Netty 4.2.4
- Added test for Data URL handling in BiDi Network request (Python)
- Replaced `platform.system()` with `sys.platform` in Python
- Updated DesiredCapabilities example to use modern Options API (Python)
π Bug Fixes
- Closed IPv6 port in case of error (Python)
- Fixed formatting issues (Python)
- Fixed type annotation errors and provided clearer error messages (Python)
- Fixed type annotation errors in service.py (Python)
- Fixed mypy type annotation issues in action_builder (Python)
- Fixed mypy errors across multiple modules (Python)
- Fixed find port logic for IPv4βonly environments ( .NET )
- Adjusted cookie expiry handling to match specification (unix seconds) in .NET BiDi
- Fixed text transformation issue with `text-transform: capitalize` in JavaScript atoms
- Reverted unintended dependency updates for charset-normalizer and cryptography (Python)
- Fixed redundant driver_instance removal in conftest.py (Python)
π§ Affected Symbols
HttpCommandExecutor (Java)Select class (Java)selectByContainsVisibleText (Java)selectByVisibleText (Java)WebDriverListener getScreenshotAs hook (Java)DownloadInfo class (Java BiDi)onDownloadWillBegin event (Java BiDi)onNavigationFailed event (Java BiDi)SafariDriver logging flag ( .NET )cookie expiry handling ( .NET BiDi )base64 serialization logic ( .NET BiDi )platform.system() usage (Python)sys.platform usage (Python)keys.py (Python)service.py (Python)action_builder (Python)BiDi Network request Data URL handling (Python)downloadEnd event (Python BiDi)history_updated event (Python BiDi)navigate command in BiDi network tests (Python)DesiredCapabilities example (Python)HttpClient cleanup after session (Grid)readTimeout handling between Router and Node (Grid)Netty version update (Grid)