Skip to content

build(deps-dev): bump selenium-webdriver and @types/selenium-webdriver - #2492

Open
dependabot[bot] wants to merge 2 commits into
masterfrom
dependabot/npm_and_yarn/multi-014980ac77
Open

dependabot[bot] wants to merge 2 commits into
masterfrom
dependabot/npm_and_yarn/multi-014980ac77

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 6, 2026

Copy link
Copy Markdown
Contributor

Bumps selenium-webdriver and @types/selenium-webdriver. These dependencies needed to be updated together.
Updates selenium-webdriver from 4.38.0 to 4.52.0

Release notes

Sourced from selenium-webdriver's releases.

Selenium 4.52.0

Detailed Changelogs by Component

Java     |     Python     |     DotNet     |     Ruby     |     JavaScript

What's Changed

... (truncated)

Commits
  • 5b37fd4 Release selenium-4.52.0 (#18259)
  • 2b4b7f1 [rb] update test guard for new bidi things that Chrome 158 supports
  • 7fda528 [py] fix race condition in test for browsing context handler removal
  • fb1ac3d [py] unit test the BiDi protocol generator (#18052)
  • c3201fa [py] load blank.html after bidi network tests that fail a navigation
  • 94b4838 [rb] accept JRuby's bare verification failure in the self-signed certificate ...
  • 6b6257a [dotnet] [test] Move proxy tests and some others to unit suite (#18257)
  • 4d6a66e [dotnet] [test] Move cookie tests to unit suite (#18256)
  • 25d340b [py][js] Initial Creation of a external shippable selenium manager (#17542)
  • 8a6aefc [py] Reject null list elements in BiDi serialization inbound and outbound (#1...
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for selenium-webdriver since your current version.


Updates @types/selenium-webdriver from 4.35.4 to 4.35.7

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium) and [@types/selenium-webdriver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/selenium-webdriver). These dependencies needed to be updated together.

Updates `selenium-webdriver` from 4.38.0 to 4.52.0
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](SeleniumHQ/selenium@selenium-4.38.0...selenium-4.52.0)

Updates `@types/selenium-webdriver` from 4.35.4 to 4.35.7
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/selenium-webdriver)

---
updated-dependencies:
- dependency-name: selenium-webdriver
  dependency-version: 4.52.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: "@types/selenium-webdriver"
  dependency-version: 4.35.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 6, 2026
@martastn martastn self-assigned this Nov 6, 2026
@martastn

martastn commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Verdict: Safe to merge (with the included one-line type fix)

Bump: selenium-webdriver 4.38.0 → 4.52.0 (minor, direct devDependency) + @types/selenium-webdriver 4.35.4 → 4.35.7 (patch, direct devDependency); lockfile also moves jszip 3.10.1 → 3.10.2 and @bazel/runfiles 6.3.1 → 6.5.0 (both only pulled in by selenium)

Changes:

  • Selenium: CDP v154–156 support, isDisplayed/getAttribute/find atoms rewritten in TS (4.44–4.45), new BiDi/web-extension APIs, removed deprecated Firefox profile/FTP-proxy APIs. engines is now ^22.23.4 || ^24.22.1 || >=26.12.1 (Node releases that reject the compromised eMudhra keys, SeleniumHQ/selenium#18249). npm only warns on older Node. (JS CHANGES.md)
  • Types: WebElement.getAttribute() now returns Promise<string | null> (DefinitelyTyped#75028); adds getDomAttribute/getProperty/getAriaRole/getAccessibleName (#75437); typeScriptVersion 5.2 → 5.6 (we use 5.8.3).
  • No GHSA for selenium-webdriver; npm audit unchanged (43 → 43). 4.52.0 has npm provenance from SeleniumHQ/selenium release.yml.

Usage in repo: only the 6 Selenium E2E suites (src/__tests__/*Converter.test.ts, Header/ProjectMenu.test.ts, Header/SimulationControls.test.ts). Nothing in the app bundle.

Impact: none on the app. The new nullable getAttribute type broke npx tsc --noEmit at src/__tests__/TopasConverter.test.ts:110 (By.id(...) needs a string). CI didn't catch it because build and Jest don't type-check test files. The fix in this PR handles it:

-			By.id(await firstExample.getAttribute('aria-labelledby'))
+			By.id((await firstExample.getAttribute('aria-labelledby')) ?? '')

Verified:

  • tsc ✅ (with the fix; 0 errors, same as master) · prettier/eslint ✅ on the fixed file
  • build ✅ — prod bundle byte-identical to master (129/129 files after normalising checkout path + chunk hashes; Δ 0 kB)
  • tests: same result as master (36 passed, 1 skipped; the 2 local failures also happen on master: SimulationControls sees my local backend on :5000, ProjectMenu is flaky). PR CI: 38 passed on Node 24.22.2 and 26.13.0. The fixed line is in an xtest suite, so it has no runtime effect.
  • Same chromedriver/Chrome is resolved by Selenium Manager 0.4.38 and 0.4.52. A controlled A/B of ProjectMenu against one server (6 runs each) failed at the same two dialog-fade-in points with both versions.

@martastn
martastn enabled auto-merge November 8, 2026 22:13

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant