Skip to content

Feature Proposal: Support for MCP (Model Context Protocol) for AI-driven browser automation #17409

Closed as duplicate

Description

@beydj1

Description

Hi Selenium team,

I’d like to propose support or discussion around MCP (Model Context Protocol) integration for Selenium WebDriver.

With the rise of AI agents (GitHub Copilot Agent, Devin, Claude, etc.), there is increasing demand for enabling LLMs to interact with browsers programmatically.

Playwright recently introduced an MCP server that allows agents to:

  • explore web applications via browser automation
  • interact with elements using accessibility-based selectors
  • generate test cases dynamically

As a Selenium user (Java + TestNG), I am interested in similar capabilities within the Selenium ecosystem.

Potential benefits:

  • AI-assisted test generation
  • improved debugging of dynamic/flaky UI
  • faster onboarding for test creation
  • ability to integrate Selenium with modern AI agent workflows

Questions:

  1. Are there any plans to support MCP or a similar protocol in Selenium?
  2. Would the team consider an official MCP server for Selenium WebDriver?
  3. Are there recommended approaches today to integrate Selenium with AI agents?

I would be happy to contribute or collaborate if this aligns with Selenium’s roadmap.

Thanks!

Have you considered any alternatives or workarounds?

No response

Activity

  1. added
    I-enhancement
    A-needs-triaging
    on Apr 30, 2026
  2. selenium-ci commented on Apr 30, 2026

    @selenium-ci
    Member

    @beydj1, 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. removed
    A-needs-triaging
    on Apr 30, 2026
  4. github-actions commented on May 30, 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.

  5. locked and limited conversation to collaborators on May 30, 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

    I-enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions