Skip to content

[🚀 Feature]: Selenium-mcp #15969

Closed as not planned
Closed as not planned

Description

@reWireByAutomation

Description

Hi Team,
I want to check any nearby plans to develop the Selenium-mcp server, as the MCP stack is going for applications, open-source frameworks integration with LLMs.
I am aware that anyone can develop an MCP server, but this is an official Selenium forum would like to know if you have any plans on this.
Thanks,
Kiran

Have you considered any alternatives or workarounds?

No response

Activity

  1. added
    I-enhancement
    A-needs-triaging
    on Jun 27, 2025
  2. selenium-ci commented on Jun 27, 2025

    @selenium-ci
    Member

    @reWireByAutomation, thank you for creating this issue. We will troubleshoot it as soon as we can.

    Selenium Triage Team: remember to follow the Triage Guide

  3. navin772 commented on Jun 28, 2025

    @navin772
    Member
  4. reWireByAutomation commented on Jun 30, 2025

    @reWireByAutomation
    Author

    Navin, thank you. I am aware of the given MCP-Selenium. But thought to check if any plans from the Selenium Official forum. Team, can close this if no such plans.

  5. diemol commented on Jun 30, 2025

    @diemol
    Member

    We are working on something, and we will let you all know when we have it.

  6. reWireByAutomation commented on Jul 2, 2025

    @reWireByAutomation
    Author

    @diemol, Thanks for the update!

  7. rpallavisharma commented on Jul 10, 2025

    @rpallavisharma
    Member

    @diemol if there is a github link to the selenium mcp server project being worked upon, could you please kindly share the link, where more information about this could be found?

  8. github-actions commented on Jan 6, 2026

    @github-actions
    Contributor

    This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 14 days.

  9. added
    J-stale
    on Jan 6, 2026
  10. titusfortner commented on Jan 6, 2026

    @titusfortner
    Member

    To follow up on this... We are definitely exploring options for this, but right now this solution does not appear able to give the kind of functionality actually needed. The amount of information that must flow back and forth between Selenium and the LLM client to have any kind of interactive session quickly saturates the context window. The most a solution can do now is to have the LLM client write and execute a Selenium script, which isn't what people seem to be asking for right now. The options are either to wait until LLM clients can manage context window caching better, or for solutions like Vibium and Alumnium to manage things outside the context window that is juggling the MCP tooling.

  11. removed
    J-stale
    on Jan 6, 2026
  12. DeLaphante commented on Jan 24, 2026

    @DeLaphante

    I believe this feature will just add unnecessary bloat. Selenium needs to be thin and lean as possible to allow it to continue to be agnostic to the endless possibilities of what could be done with it. It's job is to control the browser and that's what it should continue to do. Users should be able to have the flexibility of adding any kind of layers on top of it as they wish which give you more control.

    Creating a MCP server isn't really difficult...its literally just giving AI the hands and fingers to perform actions on the browser using Selenium which i have demonstrated in this post 👇🏾

    https://www.linkedin.com/posts/christian-delaphante-855067254_selenium-testautomation-automationengineering-activity-7409902272912113664-Flgg?utm_source=share&utm_medium=member_desktop&rcm=ACoAAD6oGgEBbTHg0U2BfE0cm7MyZ7Z3oexWAeU

  13. titusfortner commented on Jan 24, 2026

    @titusfortner
    Member

    For sure, if we do something along these lines, it wouldn't be baked into the library code.

  14. mikej411 commented on Feb 20, 2026

    @mikej411

    Playwright now has LLM agents (planner, generator, healer) that auto-generates test plans MD files, automation code, debug and fixes automation code. It does this from scratch and does it by executing Playwright tests at runtime, pausing those tests at breakpoints (whenever a test failed), while at the same time interacting with the browser's context. It works effortlessly and flawlessly to do this. This level of AI I am explaining about Playwright is not like Angie Jones basic Selenium MCP server. The Playwright MCP is on a totally different level. It is truly no-code. If someone from the official Selenium contributors or someone else does not build an accessible Selenium MCP equivalent very soon, I am afraid Selenium will have a quick death in the near future, with mostly all converting to Playwright.

  15. 4 remaining items

  16. angiejones commented on Feb 22, 2026

    @angiejones
    Contributor

    If someone from the official Selenium contributors or someone else does not build an accessible Selenium MCP equivalent very soon, I am afraid Selenium will have a quick death in the near future

    @mikej411 That's the great thing about open source... you don't have to wait. You can start building Selenium MCP today!

    just updated Selenium MCP. Folks, open issues if there's something missing that you want.

  17. mikej411 commented on Feb 22, 2026

    @mikej411

    @angiejones

    What you're doing is great!

    I think what one of the major things missing from any Selenium MCP is the below abilities to be combined with each other simultaneously.

    • Debug the test code
    • Access to the browsers context (DOM, snapshots, console, network, etc.)

    If you watch a demo of the Playwright MCP, you can see the generator and healer work so well because it can control/run/debug the test code (from a seed file) while simultaneously scanning the browsers context. If the debugger stops due to an error, Playwright MCP looks at current state of Browser and fixes accordingly in code.

    Correct me if I'm wrong, but no Selenium MCP has these abilities combined. A Selenium MCP can control a browser, but can't inherently run the test code. Copilot Agent mode can run Selenium tests externally via external commands 'dotnet test', then can look at the dotnet console logs afterwards. But that approach is trying to piecemeal everything together separately and doesn't work nearly as well. The Playwright MCP agents do it all combined together and inherently.

    Is this only possible in Playwright because they have their own browsers, and because they use their own test runner?

  18. angiejones commented on Feb 22, 2026

    @angiejones
    Contributor

    @angiejones

    What you're doing is great!

    I think what one of the major things missing from any Selenium MCP is the below abilities to be combined with each other simultaneously.

    • Debug the test code
    • Access to the browsers context (DOM, snapshots, console, network, etc.)

    If you watch a demo of the Playwright MCP, you can see the generator and healer work so well because it can control/run/debug the test code (from a seed file) while simultaneously scanning the browsers context. If the debugger stops due to an error, Playwright MCP looks at current state of Browser and fixes accordingly in code.

    Correct me if I'm wrong, but no Selenium MCP has these abilities combined. A Selenium MCP can control a browser, but can't inherently run the test code. Copilot Agent mode can run Selenium tests externally via external commands 'dotnet test', then can look at the dotnet console logs afterwards. But that approach is trying to piecemeal everything together separately and doesn't work nearly as well. The Playwright MCP agents do it all combined together and inherently.

    Is this only possible in Playwright because they have their own browsers, and because they use their own test runner?

    v0.2.0 of mcp-selenium actually already covers a good chunk of the browser context stuff:

    • Console logs, JS errors, and network activity are all passively captured through WebDriver BiDi. just ask your agent to pull the data anytime with the built-in diagnostics tool.
    • The execute_script lets your agent read/manipulate the DOM directly

    There is a gap with page structure. There's no great way to get a full page source or accessibility snapshot without blowing up the LLM's context window. I just opened an issue to tackle this by exposing them as MCP Resources, which are read on demand so they stay out of the conversation until the agent actually needs them. I'll try to knock this out today and cut another release.

    On the test runner/debugger side, yeah, that's a real difference. Playwright can do that because they own the whole stack (browsers, test runner, protocol, all of it). Selenium is decoupled from test runners by design, which is a strength in a lot of ways but does mean that "debug loop" isn't built into one server. But an AI agent can still orchestrate it by reading test code, running tests via shell, using the MCP to inspect browser state, and fixing things. It's just not as seamless as having it all in one place. But sounds like maybe the amazing Selenium project maintainers are thinking about it.

  19. mikej411 commented on Feb 22, 2026

    @mikej411

    @angiejones

    I just opened an issue to tackle this by exposing them as MCP Resources

    That is awesome! Looking forward to this.

    But an AI agent can still orchestrate it by reading test code, running tests via shell, using the MCP to inspect browser state, and fixing things.

    I am not sure the AI agent can read and understand the test code at a deep enough level that it needs to in order to get enough context to then open a browser and mimic that test code, especially for complex Apps and complex code repos. I haven’t tried yet, but I would imagine it is hit or miss, with more miss. And would always depend on the complexity of the App and test code.

    But sounds like maybe the amazing Selenium project maintainers are thinking about it.

    Yes, please!

    Your new features (full browser context with browser DOM and accessibility snapshots) + the Selenium contributors figuring out a way for integrated test running/debugging (similar to Playwright MCP agents) would fulfill a major need on the Selenium AI side of things

  20. angiejones commented on Feb 22, 2026

    @angiejones
    Contributor

    Accessibility tree snapshot now in Selenium MCP - https://github.com/angiejones/mcp-selenium

  21. mikej411 commented on Feb 22, 2026

    @mikej411

    Accessibility tree snapshot now in Selenium MCP - https://github.com/angiejones/mcp-selenium

    I think you said it can't get the full DOM? Without that, is it still able to build and/or fix locators/xpaths, etc.?

  22. angiejones commented on Feb 23, 2026

    @angiejones
    Contributor

    Accessibility tree snapshot now in Selenium MCP - https://github.com/angiejones/mcp-selenium

    I think you said it can't get the full DOM? Without that, is it still able to build and/or fix locators/xpaths, etc.?

    it's not that it can't get the DOM. it's just that the DOM can be very heavy and will eat up your context window. But yes with the AX tree, it can work with locators.

  23. DeLaphante commented on Feb 23, 2026

    @DeLaphante

    @mikej411 I disagree not because AI is weak but because this claim misplaces where autonomy is physically and economically possible. Saying "~99% autonomy in software engineering and testing is inevitable" treats intelligence as if it exists in isolation. It doesn't. Engineering systems are constrained by physics, incentives, entropy and feedback loops and AI is not exempt from those laws.

    Testing isn't a text problem...it's about contracts, intent and acceptable failure. A system that’s "99% autonomous" but wrong in 1% of critical cases isn't 99% useful... it's unshippable.

  24. github-actions commented on Aug 22, 2026

    @github-actions
    Contributor

    This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 14 days.

  25. added
    J-stale
    on Aug 22, 2026
  26. github-actions commented on Sep 6, 2026

    @github-actions
    Contributor

    This issue was closed because it has been stalled for 14 days with no activity.

  27. github-actions commented on Oct 6, 2026

    @github-actions
    Contributor

    This issue has been automatically locked since there has not been any recent activity since it was closed. Please open a new issue for related bugs.

  28. locked and limited conversation to collaborators on Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-needs-triagingI-enhancementJ-stale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions