Skip to content

[build] Prepare for release of selenium-4.42.0#17322

Merged
diemol merged 9 commits intotrunkfrom
release-preparation-selenium-4.42.0
Apr 9, 2026
Merged

[build] Prepare for release of selenium-4.42.0#17322
diemol merged 9 commits intotrunkfrom
release-preparation-selenium-4.42.0

Conversation

@selenium-ci
Copy link
Copy Markdown
Member

Release Info

Tag selenium-4.42.0
Version 4.42.0
Language all

Updates Applied

Component Status
Versions ✅ Updated
CDP version ✅ Updated
Binding Dependencies ✅ Updated
Changelogs ✅ Updated
Rust Changelogs ✅ Updated
Pinned Browsers ✅ Updated
Selenium Manager ✅ Updated
Multitool binaries ⏭️ Skipped (no changes)
Authors ✅ Updated

Auto-generated by release-preparation workflow

@selenium-ci selenium-ci added C-build B-grid Everything grid and server related C-py Python Bindings C-rb Ruby Bindings C-dotnet .NET Bindings C-java Java Bindings C-nodejs JavaScript Bindings B-build Includes scripting, bazel and CI integrations B-devtools Includes everything BiDi or Chrome DevTools related C-rust Rust code is mostly Selenium Manager B-manager Selenium Manager labels Apr 8, 2026
@diemol diemol marked this pull request as ready for review April 9, 2026 06:29
Copilot AI review requested due to automatic review settings April 9, 2026 06:29
@qodo-code-review
Copy link
Copy Markdown
Contributor

Review Summary by Qodo

Prepare for release of Selenium 4.42.0 with CDP v146 support and dependency updates

✨ Enhancement

Grey Divider

Walkthroughs

Description
  Release preparation for Selenium 4.42.0 with comprehensive updates across all language bindings and
  components:
  **Version Updates:**
• Updated all language bindings to release version 4.42.0 (from nightly builds)
• Updated Rust Selenium Manager to version 0.4.42
• Updated Ruby DevTools to version 0.146.0
  **Chrome DevTools Protocol (CDP) v146 Support:**
• Added complete v146 DevTools implementation for Java, .NET, and Ruby bindings
• Updated CDP protocol definitions with new features: device bound sessions, smart card emulation,
  permission elements, and connection allowlist
• Made AnimationEffect.iterations optional for infinite iterations handling
• Removed deprecated SameParty cookie attributes and related CORS error codes
• Updated CSS domain to use DOM.StyleSheetId
  **Dependency Updates:**
• Updated Maven dependencies including google-java-format (1.34.1 → 1.35.0), protobuf-java
  (4.33.5 → 4.34.1), mockito-core (5.21.0 → 5.23.0)
• Updated gRPC, Fabric8 Kubernetes client, Lettuce, OpenTelemetry, and Netty dependencies
• Updated JavaScript dependencies: ws (^8.19.0 → ^8.20.0), @eslint/js and eslint (^9.39.2 →
  ^9.39.4)
• Updated Ruby gem dependencies and RBS collection
• Updated Grid UI dev dependencies: jest-util and ts-jest
  **Browser and Binary Updates:**
• Updated Firefox beta from 150.0b6 to 150.0b7
• Updated Chrome beta from 147.0.7727.56 to 148.0.7778.6
• Updated ChromeDriver beta from 147.0.7727.56 to 148.0.7778.6
• Updated Selenium Manager binaries for Linux, macOS, and Windows
  **Documentation and Metadata:**
• Added comprehensive v4.42.0 release notes for Java, .NET, Python, JavaScript, and Ruby
• Updated issue template with latest version reference (4.41 → 4.42)
• Updated AUTHORS list with 4 new contributors
  **Code Quality:**
• Refactored Ruby hash building syntax using to_h with block syntax in multiple files
• Updated test constants and CDP version aliases across DevTools tests

Grey Divider

File Changes

1. java/src/org/openqa/selenium/devtools/v146/v146Target.java ✨ Enhancement +12/-12

Update DevTools Target implementation to v146

• Updated package declaration from v143 to v146
• Changed class name from v143Target to v146Target
• Updated all import statements to reference v146 instead of v143
• Updated all internal references to use v146 package paths

java/src/org/openqa/selenium/devtools/v146/v146Target.java


2. java/src/org/openqa/selenium/devtools/v146/v146Network.java ✨ Enhancement +15/-15

Update DevTools Network implementation to v146

• Updated package declaration from v143 to v146
• Changed class name from v143Network to v146Network
• Updated all import statements to reference v146 instead of v143
• Updated logger initialization and method calls to use v146 package

java/src/org/openqa/selenium/devtools/v146/v146Network.java


3. java/src/org/openqa/selenium/devtools/v146/v146Events.java ✨ Enhancement +9/-9

Update DevTools Events implementation to v146

• Updated package declaration from v143 to v146
• Changed class name from v143Events to v146Events
• Updated all import statements to reference v146 instead of v143
• Updated constructor and internal type references to use v146

java/src/org/openqa/selenium/devtools/v146/v146Events.java


View more (57)
4. java/src/org/openqa/selenium/devtools/v146/v146Domains.java ✨ Enhancement +13/-13

Update DevTools Domains implementation to v146

• Updated package declaration from v143 to v146
• Changed class name from v143Domains to v146Domains
• Updated all field types and constructor calls to use v146 classes
• Updated initialization to instantiate v146 domain implementations

java/src/org/openqa/selenium/devtools/v146/v146Domains.java


5. java/src/org/openqa/selenium/devtools/v146/v146Javascript.java ✨ Enhancement +7/-7

Update DevTools Javascript implementation to v146

• Updated package declaration from v143 to v146
• Changed class name from v143Javascript to v146Javascript
• Updated all import statements to reference v146 instead of v143
• Updated constructor to use v146 class name

java/src/org/openqa/selenium/devtools/v146/v146Javascript.java


6. java/src/org/openqa/selenium/devtools/v146/v146Log.java ✨ Enhancement +5/-5

Update DevTools Log implementation to v146

• Updated package declaration from v143 to v146
• Changed class name from v143Log to v146Log
• Updated all import statements to reference v146 instead of v143

java/src/org/openqa/selenium/devtools/v146/v146Log.java


7. java/src/org/openqa/selenium/devtools/v146/v146CdpInfo.java ✨ Enhancement +4/-4

Update DevTools CDP Info to version 146

• Updated package declaration from v143 to v146
• Changed class name from v143CdpInfo to v146CdpInfo
• Updated CDP version number from 143 to 146
• Updated domains class reference from v143Domains to v146Domains

java/src/org/openqa/selenium/devtools/v146/v146CdpInfo.java


8. java/src/org/openqa/selenium/devtools/v146/package-info.java ✨ Enhancement +1/-1

Update package info to v146

• Updated package declaration from v143 to v146

java/src/org/openqa/selenium/devtools/v146/package-info.java


9. dotnet/src/webdriver/DevTools/v146/V146Network.cs ✨ Enhancement +12/-12

Update .NET DevTools Network to v146

• Updated copyright file name from V143Network.cs to V146Network.cs
• Changed namespace from V143 to V146
• Updated class name from V143Network to V146Network
• Updated all import statements and type references to use V146

dotnet/src/webdriver/DevTools/v146/V146Network.cs


10. dotnet/src/webdriver/DevTools/v146/V146Domains.cs ✨ Enhancement +15/-15

Update .NET DevTools Domains to v146

• Updated copyright file name from V143Domains.cs to V146Domains.cs
• Changed namespace and class name from V143 to V146
• Updated all field types and lazy initialization to use V146 classes
• Updated DevToolsVersion property from 143 to 146

dotnet/src/webdriver/DevTools/v146/V146Domains.cs


11. dotnet/src/webdriver/DevTools/v146/V146JavaScript.cs ✨ Enhancement +8/-8

Update .NET DevTools JavaScript to v146

• Updated copyright file name from V143JavaScript.cs to V146JavaScript.cs
• Changed namespace and class name from V143 to V146
• Updated all import statements to reference V146 instead of V143

dotnet/src/webdriver/DevTools/v146/V146JavaScript.cs


12. dotnet/src/webdriver/DevTools/v146/V146Log.cs ✨ Enhancement +7/-7

Update .NET DevTools Log to v146

• Updated copyright file name from V143Log.cs to V146Log.cs
• Changed namespace and class name from V143 to V146
• Updated import statements to reference V146 instead of V143

dotnet/src/webdriver/DevTools/v146/V146Log.cs


13. dotnet/src/webdriver/DevTools/v146/V146Target.cs ✨ Enhancement +7/-7

Update .NET DevTools Target to v146

• Updated copyright file name from V143Target.cs to V146Target.cs
• Changed namespace and class name from V143 to V146
• Updated import statements to reference V146 instead of V143

dotnet/src/webdriver/DevTools/v146/V146Target.cs


14. dotnet/test/webdriver/DevTools/DevToolsTargetTests.cs 🧪 Tests +2/-2

Update DevTools target tests to v146

• Updated CurrentCdpVersion alias from V145 to V146
• Updated test constant id from 145 to 146

dotnet/test/webdriver/DevTools/DevToolsTargetTests.cs


15. dotnet/src/webdriver/DevTools/DevToolsDomains.cs ✨ Enhancement +2/-2

Update DevTools domain factory to support v146

• Updated supported protocol versions list to include 146 instead of 143
• Updated CreateDevToolsDomain switch statement to map version 146 to V146.V146Domains

dotnet/src/webdriver/DevTools/DevToolsDomains.cs


16. dotnet/test/webdriver/DevTools/DevToolsPerformanceTests.cs 🧪 Tests +1/-1

Update performance tests CDP version to v146

• Updated CurrentCdpVersion alias from V145 to V146

dotnet/test/webdriver/DevTools/DevToolsPerformanceTests.cs


17. dotnet/test/webdriver/DevTools/DevToolsProfilerTests.cs 🧪 Tests +1/-1

Update profiler tests CDP version to v146

• Updated CurrentCdpVersion alias from V145 to V146

dotnet/test/webdriver/DevTools/DevToolsProfilerTests.cs


18. dotnet/test/webdriver/DevTools/DevToolsTabsTests.cs 🧪 Tests +1/-1

Update tabs tests CDP version to v146

• Updated CurrentCdpVersion alias from V145 to V146

dotnet/test/webdriver/DevTools/DevToolsTabsTests.cs


19. dotnet/test/webdriver/DevTools/DevToolsConsoleTests.cs 🧪 Tests +1/-1

Update console tests CDP version to v146

• Updated CurrentCdpVersion alias from V145 to V146

dotnet/test/webdriver/DevTools/DevToolsConsoleTests.cs


20. dotnet/test/webdriver/DevTools/DevToolsLogTests.cs 🧪 Tests +1/-1

Update log tests CDP version to v146

• Updated CurrentCdpVersion alias from V145 to V146

dotnet/test/webdriver/DevTools/DevToolsLogTests.cs


21. dotnet/test/webdriver/DevTools/DevToolsNetworkTests.cs 🧪 Tests +1/-1

Update network tests CDP version to v146

• Updated CurrentCdpVersion alias from V145 to V146

dotnet/test/webdriver/DevTools/DevToolsNetworkTests.cs


22. dotnet/test/webdriver/DevTools/DevToolsSecurityTests.cs 🧪 Tests +1/-1

Update security tests CDP version to v146

• Updated CurrentCdpVersion alias from V145 to V146

dotnet/test/webdriver/DevTools/DevToolsSecurityTests.cs


23. common/repositories.bzl ⚙️ Configuration changes +12/-12

Update pinned browser versions and checksums

• Updated Firefox beta version from 150.0b6 to 150.0b7 with new SHA256 hashes
• Updated Chrome beta version from 147.0.7727.56 to 148.0.7778.6 with new SHA256 hashes
• Updated ChromeDriver beta version from 147.0.7727.56 to 148.0.7778.6 with new SHA256 hashes

common/repositories.bzl


24. common/selenium_manager.bzl Dependencies +6/-6

Update Selenium Manager binary artifacts

• Updated Selenium Manager Linux binary URL and SHA256 hash
• Updated Selenium Manager macOS binary URL and SHA256 hash
• Updated Selenium Manager Windows binary URL and SHA256 hash

common/selenium_manager.bzl


25. py/selenium/__init__.py ⚙️ Configuration changes +1/-1

Update Python package version to release

• Updated version from 4.42.0.202602192150 to 4.42.0

py/selenium/init.py


26. py/docs/source/conf.py 📝 Documentation +1/-1

Update Python documentation version

• Updated release version from 4.42.0.202602192150 to 4.42.0

py/docs/source/conf.py


27. py/selenium/webdriver/__init__.py ⚙️ Configuration changes +1/-1

Update WebDriver version to release

• Updated version from 4.42.0.202602192150 to 4.42.0

py/selenium/webdriver/init.py


28. dotnet/selenium-dotnet-version.bzl ⚙️ Configuration changes +2/-2

Update .NET version and supported DevTools versions

• Updated SE_VERSION from 4.42.0-nightly202602192150 to 4.42.0
• Updated SUPPORTED_DEVTOOLS_VERSIONS to include v146 instead of v143

dotnet/selenium-dotnet-version.bzl


29. java/src/org/openqa/selenium/devtools/versions.bzl ⚙️ Configuration changes +1/-1

Update Java CDP versions list

• Updated CDP_VERSIONS list to include v146 instead of v143

java/src/org/openqa/selenium/devtools/versions.bzl


30. java/version.bzl ⚙️ Configuration changes +1/-1

Update Java version to release

• Updated SE_VERSION from 4.42.0-SNAPSHOT to 4.42.0

java/version.bzl


31. rake_tasks/bazel.rake Formatting +2/-2

Refactor Ruby hash building syntax

• Refactored each_with_object to use to_h with block syntax for cleaner code

rake_tasks/bazel.rake


32. rake_tasks/java.rake ⚙️ Configuration changes +1/-1

Update Java release target to v146

• Updated Java release target from v143 to v146 in JAVA_RELEASE_TARGETS

rake_tasks/java.rake


33. rb/lib/selenium/server.rb Formatting +1/-1

Refactor Ruby hash building syntax

• Refactored each_with_object to use to_h with block syntax for cleaner code

rb/lib/selenium/server.rb


34. rb/lib/selenium/webdriver/devtools/response.rb Formatting +3/-3

Refactor Ruby hash building syntax

• Refactored each_with_object to use to_h with block syntax for cleaner code

rb/lib/selenium/webdriver/devtools/response.rb


35. rb/lib/selenium/webdriver/version.rb ⚙️ Configuration changes +1/-1

Update Ruby WebDriver version to release

• Updated version from 4.42.0.nightly to 4.42.0

rb/lib/selenium/webdriver/version.rb


36. rb/lib/selenium/devtools/version.rb ⚙️ Configuration changes +1/-1

Update Ruby DevTools version to 0.146.0

• Updated version from 0.145.0 to 0.146.0

rb/lib/selenium/devtools/version.rb


37. common/devtools/chromium/v146/browser_protocol.pdl ✨ Enhancement +928/-134

Update Chrome DevTools Protocol to v146

• Made AnimationEffect.iterations optional to handle infinite iterations
• Removed deprecated SameParty cookie attributes and related CORS error codes
• Added new ConnectionAllowlistError and ConnectionAllowlistIssueDetails types
• Added new PermissionElementIssueType and PermissionElementIssueDetails types
• Added new permissions: autofill, local-network, loopback-network, manual-text
• Added device bound session tracking and management types and commands
• Added SmartCardEmulation domain with comprehensive smart card reader emulation
• Updated CSS domain to use DOM.StyleSheetId instead of local StyleSheetId
• Added new Network commands and events for device bound sessions
• Added getAnnotatedPageContent command to Page domain

common/devtools/chromium/v146/browser_protocol.pdl


38. rb/rbs_collection.lock.yaml Dependencies +25/-21

Update Ruby RBS collection and dependencies

• Updated gem_rbs_collection revision to latest commit
• Updated bigdecimal from git source to rubygems version 4.1.1
• Added new lint_roller gem dependency

rb/rbs_collection.lock.yaml


39. AUTHORS Miscellaneous +5/-0

Update contributors list

• Added 4 new contributors to the authors list

AUTHORS


40. dotnet/CHANGELOG 📝 Documentation +42/-0

Add .NET v4.42.0 release notes

• Added comprehensive v4.42.0 release notes with 40+ improvements and fixes
• Includes BiDi enhancements, performance optimizations, and CDP v146 support

dotnet/CHANGELOG


41. java/CHANGELOG 📝 Documentation +33/-0

Add Java v4.42.0 release notes

• Added comprehensive v4.42.0 release notes with 30+ improvements and fixes
• Includes BiDi speculation module, nullability specifications, and CDP v146 support

java/CHANGELOG


42. javascript/selenium-webdriver/package.json Dependencies +4/-4

Update JavaScript package version and dependencies

• Updated version from 4.42.0-nightly202602192150 to 4.42.0
• Updated ws dependency from ^8.19.0 to ^8.20.0
• Updated @eslint/js from ^9.39.2 to ^9.39.4
• Updated eslint from ^9.39.2 to ^9.39.4

javascript/selenium-webdriver/package.json


43. javascript/grid-ui/package.json Dependencies +2/-2

Update Grid UI dev dependencies

• Updated jest-util from ^30.2.0 to ^30.3.0
• Updated ts-jest from ^29.4.6 to ^29.4.9

javascript/grid-ui/package.json


44. py/CHANGES 📝 Documentation +11/-0

Add Python v4.42.0 release notes

• Added comprehensive v4.42.0 release notes with 10 improvements
• Includes type annotations, DevTools v146 support, and Selenium Manager enhancements

py/CHANGES


45. .github/ISSUE_TEMPLATE/bug-report.yml 📝 Documentation +1/-1

Update issue template with latest version

• Updated latest released version reference from 4.41 to 4.42

.github/ISSUE_TEMPLATE/bug-report.yml


46. java/maven_install.json Dependencies +377/-373

Update Maven dependencies for Selenium 4.42.0 release

• Updated Maven dependency checksums and versions for multiple libraries
• Upgraded key dependencies: com.google.googlejavaformat:google-java-format to 1.35.0,
 com.google.protobuf:protobuf-java to 4.34.1, io.fabric8:kubernetes-client to 7.6.1,
 io.netty:netty-* to 4.2.12.Final, io.opentelemetry:* to 1.60.1, net.bytebuddy:byte-buddy to
 1.18.8-jdk5, org.apache.logging.log4j:log4j-* to 2.25.4, org.checkerframework:checker-qual to
 4.0.0, org.mockito:mockito-core to 5.23.0, org.redisson:redisson to 4.3.1,
 org.snakeyaml:snakeyaml-engine to 3.0.1
• Updated package exports and class lists for Kubernetes and Lettuce libraries

java/maven_install.json


47. py/BUILD.bazel ⚙️ Configuration changes +2/-2

Update Python version and browser CDP versions

• Updated SE_VERSION from nightly build 4.42.0.202602192150 to release version 4.42.0
• Updated BROWSER_VERSIONS list to prioritize v146 as the first CDP version (moved from v143)

py/BUILD.bazel


48. java/src/org/openqa/selenium/devtools/v146/BUILD.bazel ⚙️ Configuration changes +1/-1

Update CDP version to v146 for Java DevTools

• Updated cdp_version variable from v143 to v146 to reflect the current Chrome DevTools
 Protocol version

java/src/org/openqa/selenium/devtools/v146/BUILD.bazel


49. javascript/selenium-webdriver/BUILD.bazel ⚙️ Configuration changes +2/-2

Update JavaScript version and browser CDP versions

• Updated VERSION from nightly build 4.42.0-nightly202602192150 to release version 4.42.0
• Updated BROWSER_VERSIONS list to prioritize v146 as the first CDP version (moved from v143)

javascript/selenium-webdriver/BUILD.bazel


50. rust/Cargo.toml ⚙️ Configuration changes +1/-1

Update Rust Selenium Manager version to release

• Updated version field from 0.4.42-nightly to 0.4.42 for the selenium-manager package

rust/Cargo.toml


51. py/pyproject.toml ⚙️ Configuration changes +1/-1

Update Python package version to release

• Updated version field from nightly build 4.42.0.202602192150 to release version 4.42.0

py/pyproject.toml


52. javascript/selenium-webdriver/CHANGES.md 📝 Documentation +6/-0

Add JavaScript changelog for version 4.42.0

• Added changelog entry for version 4.42.0 with supported CDP versions v144, v145, v146
• Documented new features: Color Class for Javascript library and bug fixes for failing tests

javascript/selenium-webdriver/CHANGES.md


53. rb/lib/selenium/devtools/BUILD.bazel ⚙️ Configuration changes +1/-1

Update Ruby CDP versions to v146

• Updated CDP_VERSIONS list to prioritize v146 as the first CDP version (moved from v143)

rb/lib/selenium/devtools/BUILD.bazel


54. rust/BUILD.bazel ⚙️ Configuration changes +1/-1

Update Rust binary version to release

• Updated version field from 0.4.42-nightly to 0.4.42 for the selenium-manager binary

rust/BUILD.bazel


55. rb/CHANGES 📝 Documentation +4/-0

Add Ruby changelog for version 4.42.0

• Added changelog entry for version 4.42.0 dated 2026-04-08 with supported CDP versions v144, v145,
 v146

rb/CHANGES


56. rust/CHANGELOG.md 📝 Documentation +4/-0

Add Rust changelog entry for version 0.4.42

• Added changelog entry for version 0.4.42 (currently empty, placeholder for release notes)

rust/CHANGELOG.md


57. MODULE.bazel Dependencies +38/-38

Dependency version updates for Selenium 4.42.0 release

• Updated multiple Maven dependency versions including checker-qual (3.53.1 → 4.0.0),
 google-java-format (1.34.1 → 1.35.0), and protobuf-java (4.33.5 → 4.34.1)
• Updated gRPC, Fabric8 Kubernetes client, and Lettuce dependencies to newer versions
• Updated testing and utility libraries: mockito-core (5.21.0 → 5.23.0), redisson (4.2.0 →
 4.3.1), and byte-buddy (1.18.5 → 1.18.8-jdk5)
• Updated Ruby gem dependencies including addressable, bigdecimal, erb, ffi, json,
 rubocop, and yard to their latest versions
• Updated OpenTelemetry and Netty BOM versions to 1.60.1 and 4.2.12.Final respectively

MODULE.bazel


58. common/devtools/chromium/v146/BUILD.bazel Additional files +0/-0

...

common/devtools/chromium/v146/BUILD.bazel


59. common/devtools/chromium/v146/js_protocol.pdl Additional files +0/-0

...

common/devtools/chromium/v146/js_protocol.pdl


60. pnpm-lock.yaml Additional files +394/-374

...

pnpm-lock.yaml


Grey Divider

Qodo Logo

@qodo-code-review
Copy link
Copy Markdown
Contributor

qodo-code-review bot commented Apr 9, 2026

Code Review by Qodo

🐞 Bugs (0)   📘 Rule violations (1)   📎 Requirement gaps (0)   🎨 UX Issues (0)
📘\ ≡ Correctness (1)

Grey Divider


Action required

1. Removed CDP v143 package 📘
Description
The PR renames/removes the public Java DevTools CDP package org.openqa.selenium.devtools.v143 by
switching to v146, which breaks consumers importing/depending on v143. This violates the
requirement to maintain public API/ABI compatibility across upgrades.
Code

java/src/org/openqa/selenium/devtools/v146/package-info.java[19]

-package org.openqa.selenium.devtools.v143;
+package org.openqa.selenium.devtools.v146;
Evidence
PR Compliance ID 1 requires avoiding breaking changes to public interfaces. The diff removes
package org.openqa.selenium.devtools.v143; and also removes v143 from the supported CDP versions
list, indicating v143 is no longer available/maintained as a public interface.

AGENTS.md
java/src/org/openqa/selenium/devtools/v146/package-info.java[19-19]
java/src/org/openqa/selenium/devtools/versions.bzl[2-2]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR removes/renames the public CDP `v143` package/version, which can break downstream users who import `org.openqa.selenium.devtools.v143` or otherwise rely on `v143` being supported.

## Issue Context
This release-prep change switches supported CDP versions to `v144`, `v145`, `v146` and drops `v143`. If dropping `v143` is intended, it should be done in a backward-compatible way (e.g., keep `v143` artifacts for a deprecation window, or provide a compatibility/alias layer).

## Fix Focus Areas
- java/src/org/openqa/selenium/devtools/v146/package-info.java[19-19]
- java/src/org/openqa/selenium/devtools/versions.bzl[1-5]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

ⓘ The new review experience is currently in Beta. Learn more

Grey Divider

Qodo Logo

@diemol diemol merged commit 74c7f02 into trunk Apr 9, 2026
59 checks passed
@diemol diemol deleted the release-preparation-selenium-4.42.0 branch April 9, 2026 06:32
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Prepares the Selenium monorepo for the selenium-4.42.0 release by aligning version numbers across all bindings, updating supported CDP versions to include v146, and refreshing pinned tooling/dependencies used by the build and release pipelines.

Changes:

  • Bump release versions across Rust/Ruby/Python/JS/Java/.NET and update changelogs.
  • Update supported CDP version set to v144, v145, v146 across bindings/build tooling.
  • Refresh pinned browsers, Selenium Manager artifacts, and various build/dependency locks.

Reviewed changes

Copilot reviewed 57 out of 63 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
rust/CHANGELOG.md Add 0.4.42 section (currently empty).
rust/Cargo.toml Release version from nightly to 0.4.42.
rust/Cargo.lock Lockfile version sync for selenium-manager.
rust/Cargo.Bazel.lock Bazel cargo lock updated for release version.
rust/BUILD.bazel Bazel target version set to 0.4.42.
rb/rbs_collection.lock.yaml Update RBS collection revisions/deps.
rb/lib/selenium/webdriver/version.rb Release Ruby webdriver version 4.42.0.
rb/lib/selenium/webdriver/devtools/response.rb Refactor header map creation.
rb/lib/selenium/server.rb Refactor assets map creation.
rb/lib/selenium/devtools/version.rb Bump Ruby devtools to 0.146.0.
rb/lib/selenium/devtools/BUILD.bazel Update Ruby CDP versions list.
rb/Gemfile.lock Update gem resolutions + bundler version.
rb/CHANGES Add 4.42.0 Ruby changelog entry.
rake_tasks/java.rake Publish target moved to devtools v146.
rake_tasks/bazel.rake Refactor index sorting to to_h.
py/selenium/webdriver/init.py Release Python version to 4.42.0.
py/selenium/init.py Release Python package version to 4.42.0.
py/pyproject.toml Release Python project version to 4.42.0.
py/docs/source/conf.py Docs release string set to 4.42.0.
py/CHANGES Add 4.42.0 Python changelog entry.
py/BUILD.bazel Set SE_VERSION + CDP versions to v146.
MODULE.bazel Update Maven artifacts/BOMs + Ruby checksums.
javascript/selenium-webdriver/package.json Release JS binding version + deps bump.
javascript/selenium-webdriver/CHANGES.md Add 4.42.0 JS changelog entry.
javascript/selenium-webdriver/BUILD.bazel Set VERSION + CDP versions to v146.
javascript/grid-ui/package.json Bump Jest/ts-jest dev dependencies.
java/version.bzl Java SE_VERSION set to 4.42.0.
java/src/org/openqa/selenium/devtools/versions.bzl CDP versions list updated to v146+.
java/src/org/openqa/selenium/devtools/v146/v146Target.java Fix v146 package/class wiring.
java/src/org/openqa/selenium/devtools/v146/v146Network.java Fix v146 package/class wiring.
java/src/org/openqa/selenium/devtools/v146/v146Log.java Fix v146 package/class wiring.
java/src/org/openqa/selenium/devtools/v146/v146Javascript.java Fix v146 package/class wiring.
java/src/org/openqa/selenium/devtools/v146/v146Events.java Fix v146 package/class wiring.
java/src/org/openqa/selenium/devtools/v146/v146Domains.java Fix v146 package/class wiring.
java/src/org/openqa/selenium/devtools/v146/v146CdpInfo.java Register CDP info for version 146.
java/src/org/openqa/selenium/devtools/v146/package-info.java Correct package declaration to v146.
java/src/org/openqa/selenium/devtools/v146/BUILD.bazel Set Bazel export to v146.
java/CHANGELOG Add 4.42.0 Java changelog entry.
dotnet/test/webdriver/DevTools/DevToolsTargetTests.cs Move tests to CurrentCdpVersion V146.
dotnet/test/webdriver/DevTools/DevToolsTabsTests.cs Move tests to CurrentCdpVersion V146.
dotnet/test/webdriver/DevTools/DevToolsSecurityTests.cs Move tests to CurrentCdpVersion V146.
dotnet/test/webdriver/DevTools/DevToolsProfilerTests.cs Move tests to CurrentCdpVersion V146.
dotnet/test/webdriver/DevTools/DevToolsPerformanceTests.cs Move tests to CurrentCdpVersion V146.
dotnet/test/webdriver/DevTools/DevToolsNetworkTests.cs Move tests to CurrentCdpVersion V146.
dotnet/test/webdriver/DevTools/DevToolsLogTests.cs Move tests to CurrentCdpVersion V146.
dotnet/test/webdriver/DevTools/DevToolsConsoleTests.cs Move tests to CurrentCdpVersion V146.
dotnet/src/webdriver/DevTools/v146/V146Target.cs Rename/update domain wrapper for v146.
dotnet/src/webdriver/DevTools/v146/V146Network.cs Rename/update network wrapper for v146.
dotnet/src/webdriver/DevTools/v146/V146Log.cs Rename/update log wrapper for v146.
dotnet/src/webdriver/DevTools/v146/V146JavaScript.cs Rename/update JS wrapper for v146.
dotnet/src/webdriver/DevTools/v146/V146Domains.cs Update domains container for v146.
dotnet/src/webdriver/DevTools/DevToolsDomains.cs Switch supported CDP implementations to v146+.
dotnet/selenium-dotnet-version.bzl Release .NET SE_VERSION + CDP versions.
dotnet/CHANGELOG Add 4.42.0 .NET changelog entry.
common/selenium_manager.bzl Update Selenium Manager artifact URLs + hashes.
common/repositories.bzl Bump pinned beta browsers (Firefox/Chrome).
common/devtools/chromium/v146/js_protocol.pdl Add Chromium CDP v146 JS protocol.
common/devtools/chromium/v146/BUILD.bazel Add build rules to convert PDL→JSON.
common/devtools/chromium/v146/browser_protocol.pdl Add/update Chromium CDP v146 browser protocol.
AUTHORS Add newly credited contributors.
.github/ISSUE_TEMPLATE/bug-report.yml Update “latest released” version to 4.42.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported
Comments suppressed due to low confidence (2)

dotnet/src/webdriver/DevTools/v146/V146Network.cs:250

  • V146.Fetch.AuthChallengeResponse / V146.Fetch.AuthChallengeResponseResponseValues aren’t valid references in this context (there’s no V146 alias/namespace). Use the imported AuthChallengeResponse/AuthChallengeResponseResponseValues types directly, or fully qualify them with OpenQA.Selenium.DevTools.V146.Fetch consistently.
    dotnet/src/webdriver/DevTools/v146/V146Network.cs:269
  • This block still references V146.Fetch.AuthChallengeResponseResponseValues.CancelAuth, which will not resolve without a V146 alias. Prefer AuthChallengeResponseResponseValues.CancelAuth (given the using OpenQA.Selenium.DevTools.V146.Fetch;) or fully qualify the enum.

AutomatedTester pushed a commit that referenced this pull request Apr 9, 2026
* bump versions

* update devtools versions

* update dependencies

* changelogs updated

* rust changelogs updated

* update pinned browser versions

* update selenium manager versions

* update authors file

* refactor(response): simplify header extraction and improve hash construction

Making linter happy

---------

Co-authored-by: Selenium CI Bot <selenium-ci@users.noreply.github.com>
Co-authored-by: Diego Molina <diemol@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

B-build Includes scripting, bazel and CI integrations B-devtools Includes everything BiDi or Chrome DevTools related B-grid Everything grid and server related B-manager Selenium Manager C-build C-dotnet .NET Bindings C-java Java Bindings C-nodejs JavaScript Bindings C-py Python Bindings C-rb Ruby Bindings C-rust Rust code is mostly Selenium Manager

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants