Skip to content

[js] Move selenium-mcp to the SeleniumHQ/mcp repo - #18290

Merged
AutomatedTester merged 2 commits into
trunkfrom
claude/project-thread-5pf5d7
Nov 9, 2026
Merged

AutomatedTester merged 2 commits into
trunkfrom
claude/project-thread-5pf5d7

Conversation

@AutomatedTester

@AutomatedTester AutomatedTester commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Requested by David · project thread

🔗 Related Issues

Follows SeleniumHQ/mcp#1, now merged: the server lives in https://github.com/SeleniumHQ/mcp.

💥 What does this PR do?

Removes javascript/selenium-mcp (@selenium/mcp, added in #18280 and #18284) now that it has moved to https://github.com/SeleniumHQ/mcp. Also removes its wiring:

  • pnpm-workspace.yaml entry and the javascript/selenium-mcp importer in pnpm-lock.yaml
  • npm_translate_lock input in MODULE.bazel
  • common/src/web visibility for the MCP tests
  • .bazelignore entry
  • the MCP lint, unit and browser targets in .github/workflows/ci-javascript.yml

The package was never wired into the release task, so nothing in rake_tasks changes.

🔧 Implementation Notes

Each wiring file is back to exactly what it was before #18280. The lockfile was regenerated with pnpm install --lockfile-only using pnpm 10.28.0, and the diff removes exactly the 413 lines #18280 added. pnpm 10 matters here: pnpm 9 ignores the packageExtensions in pnpm-workspace.yaml, which dropped recast's @babel/parser and broke bidi-schema-tests on the first push. I couldn't run Bazel in my environment, so CI is the build check.

🤖 AI assistance

  • No substantial AI assistance used
  • AI assisted (complete below)
    • Tool(s): Claude Code
    • What was generated: the removal and the regenerated lockfile
    • I reviewed all AI output and can explain the change

💡 Additional Considerations

Open MCP follow-ups, including the --caps groups, now go to SeleniumHQ/mcp. The binding-side follow-ups found along the way stay here: bidi/logInspector crashing when network events share its connection, and file inputs missing from the accessibility atom.

🔄 Types of changes

  • Cleanup (formatting, renaming)

🤖 Generated with Claude Code

https://claude.ai/code/session_01LA4X4zVmGoJN9qsPL5HUU2

The MCP server now lives in its own repository, with its own npm build
and CI, so it can release on its own schedule rather than with the
bindings. Remove javascript/selenium-mcp and its wiring: the pnpm
workspace entry and lockfile importer, the npm_translate_lock input,
the common/src/web visibility, .bazelignore, and the JavaScript CI
targets.
@AutomatedTester AutomatedTester self-assigned this Nov 9, 2026
@selenium-ci

Copy link
Copy Markdown
Member

/agentic_describe

@selenium-ci selenium-ci added the B-build Includes scripting, bazel and CI integrations label Nov 9, 2026
@qodo-code-review

Copy link
Copy Markdown
Contributor

PR Summary by Qodo

Remove selenium-mcp after its move to SeleniumHQ/mcp

⚙️ Configuration changes 🕐 20-40 Minutes

Grey Divider

AI Description

• Remove the MCP server from this repository so it can develop and release independently.
• Remove its pnpm, Bazel, and JavaScript CI wiring, including dependencies no longer needed.
• Merge after SeleniumHQ/mcp#1 so the server remains available in a maintained repository.
Diagram

graph TD
  MCP["SeleniumHQ/mcp"] --> NPM["WebDriver package"]
  Workspace["JS workspace"] --> Lock["pnpm lock"] --> Bazel["Bazel npm setup"] --> Bindings["JS bindings"] --> NPM
  CI["JavaScript CI"] --> Bindings
Loading
High-Level Assessment

Removing the package and all of its monorepo wiring is the appropriate approach for independent ownership and releases; retaining a duplicate package or build target would create two sources of truth. Confirm SeleniumHQ/mcp#1 lands before merging and rely on CI for the Bazel check that could not be run locally.

Files changed (6) +3 / -424

Other (6) +3 / -424
.bazelignoreStop ignoring MCP node_modules +0/-1

Stop ignoring MCP node_modules

• Removes the ignore entry for the deleted selenium-mcp package directory.

.bazelignore

ci-javascript.ymlRemove MCP targets from JavaScript CI +3/-4

Remove MCP targets from JavaScript CI

• Drops MCP lint, unit, smoke fallback, and browser test targets. The corresponding jobs continue to target selenium-webdriver.

.github/workflows/ci-javascript.yml

MODULE.bazelRemove the MCP manifest from Bazel npm translation +0/-1

Remove the MCP manifest from Bazel npm translation

• Removes the deleted package.json from npm_translate_lock inputs so Bazel no longer resolves the MCP package.

MODULE.bazel

BUILD.bazelRemove visibility granted to MCP tests +0/-1

Remove visibility granted to MCP tests

• Removes selenium-mcp subpackage visibility from the shared web test library while retaining visibility for selenium-webdriver.

common/src/web/BUILD.bazel

pnpm-workspace.yamlRemove MCP from the pnpm workspace +0/-1

Remove MCP from the pnpm workspace

• Drops javascript/selenium-mcp from workspace membership because the package now lives in its own repository.

pnpm-workspace.yaml

pnpm-lock.yamlPrune MCP importer and unused dependencies +0/-416

Prune MCP importer and unused dependencies

• Removes the selenium-mcp importer and its unneeded MCP SDK, Zod, and transitive dependency entries. The regenerated lockfile also drops its package-extension checksum and an associated recast dependency entry.

pnpm-lock.yaml

@qodo-code-review

Copy link
Copy Markdown
Contributor

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can see how risky a PR is at a glance with blast radius labels

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@AutomatedTester
AutomatedTester marked this pull request as ready for review November 9, 2026 14:51
pnpm 9 ignores packageExtensions in pnpm-workspace.yaml, so it dropped
the @babel/parser dependency added to recast, and bidi-schema-tests
failed with "Install @babel/parser". pnpm 10, which rules_js uses,
keeps it; the diff now only removes what #18280 added.
@selenium-ci

Copy link
Copy Markdown
Member

/agentic_review

@AutomatedTester
AutomatedTester merged commit dd6031f into trunk Nov 9, 2026
52 checks passed
@AutomatedTester
AutomatedTester deleted the claude/project-thread-5pf5d7 branch November 9, 2026 15:58
This was referenced Nov 17, 2026
This was referenced Nov 18, 2026
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants