You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A-needs-triagingA Selenium member will evaluate this soon!I-enhancementSomething could be betterJ-staleApplied to issues that become stale, and eventually closed.
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?
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.
@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?
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.
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 👇🏾
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.
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.
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?
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.
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
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.
@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.
A-needs-triagingA Selenium member will evaluate this soon!I-enhancementSomething could be betterJ-staleApplied to issues that become stale, and eventually closed.
Activity
selenium-ci commentedon Jun 27, 2025
@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
navin772 commentedon Jun 28, 2025
@reWireByAutomation there is one by @angiejones - https://github.com/angiejones/mcp-selenium.
reWireByAutomation commentedon Jun 30, 2025
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.
diemol commentedon Jun 30, 2025
We are working on something, and we will let you all know when we have it.
reWireByAutomation commentedon Jul 2, 2025
@diemol, Thanks for the update!
rpallavisharma commentedon Jul 10, 2025
@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?
github-actions commentedon Jan 6, 2026
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.
titusfortner commentedon Jan 6, 2026
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.
DeLaphante commentedon Jan 24, 2026
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
titusfortner commentedon Jan 24, 2026
For sure, if we do something along these lines, it wouldn't be baked into the library code.
mikej411 commentedon Feb 20, 2026
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.
4 remaining items
angiejones commentedon Feb 22, 2026
just updated Selenium MCP. Folks, open issues if there's something missing that you want.
mikej411 commentedon Feb 22, 2026
@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.
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?
angiejones commentedon Feb 22, 2026
v0.2.0 of mcp-selenium actually already covers a good chunk of the browser context stuff:
diagnosticstool.execute_scriptlets your agent read/manipulate the DOM directlyThere 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.
mikej411 commentedon Feb 22, 2026
@angiejones
That is awesome! Looking forward to this.
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.
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
angiejones commentedon Feb 22, 2026
Accessibility tree snapshot now in Selenium MCP - https://github.com/angiejones/mcp-selenium
mikej411 commentedon Feb 22, 2026
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.?
angiejones commentedon Feb 23, 2026
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.
DeLaphante commentedon Feb 23, 2026
@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.
github-actions commentedon Aug 22, 2026
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.
github-actions commentedon Sep 6, 2026
This issue was closed because it has been stalled for 14 days with no activity.
github-actions commentedon Oct 6, 2026
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.