Skip to content

deps: bump selenium-java 4.40.0 -> 4.49.0 - #56

Merged
shossain786 merged 1 commit into
masterfrom
deps/selenium-java-4.49.0
Sep 19, 2026
Merged

shossain786 merged 1 commit into
masterfrom
deps/selenium-java-4.49.0

Conversation

@shossain786

Copy link
Copy Markdown
Contributor

Summary

  • selenium-java was pinned 9 releases behind upstream (4.40.0 vs 4.49.0).
  • The bump alone didn't compile — 4.49.0 dropped the devtools-v144 CDP module that NetworkMock and DeviceEmulator import against directly (it now bundles v151/v153). Repointed both at v153.
  • That surfaced a real CDP signature change: Emulation.setDeviceMetricsOverride() gained two trailing optional parameters in v153 vs v144. Added Optional.empty() for both — same default behavior as before, just matching the new arity.

Why

Raised while auditing dependency freshness across the ecosystem — see companion PR #55 (Dependabot for maven), which exists specifically so this kind of drift shows up as a PR instead of a manual audit next time.

Test plan

  • mvn clean test — 508/508 tests pass
  • No other CDP version references found (grep -rn "v144" clean after the change)

🤖 Generated with Claude Code

The naive version bump didn't compile: Selenium 4.49.0 no longer ships
the devtools-v144 CDP module NetworkMock/DeviceEmulator hardcoded
imports against (it bundles v151/v153 now). Repointed both files at
v153, the newer of the two bundled versions.

That surfaced a real CDP API change: v153's
Emulation.setDeviceMetricsOverride() gained two trailing optional
parameters (scrollbarType and a new bool) versus v144 — added
Optional.empty() for both, preserving existing default behavior.

Verified: `mvn clean test` — 508/508 tests pass.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@shossain786
shossain786 merged commit b35df31 into master Sep 19, 2026
2 checks passed
@shossain786
shossain786 deleted the deps/selenium-java-4.49.0 branch September 19, 2026 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant