Selenium Tools for MCP
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
This is a server implementation that bridges the gap between MCP clients (AI assistants) and Selenium WebDriver. It exposes Selenium WebDriver's functionalities as MCP tools, allowing AI models to utilize them for tasks like:
In essence, the selenium webdriver mcp setup allows AI assistants to leverage the power of Selenium Webdriver for web automation, by communicating with a dedicated Selenium MCP server via the Model Context Protocol. This facilitates tasks such as automated web interactions, testing, and data extraction, all controlled by AI.
A Model Context Protocol (MCP) server for Selenium that provides comprehensive Selenium WebDriver automation tools for AI assistants and applications. This server enables automated web browser interactions, testing, and scraping through a standardized interface.
Built with TypeScript and modern ES modules, it offers type-safe browser automation capabilities through the Model Context Protocol.
Configure your MCP client to connect to the Selenium server:
Update your mcp.json in VS Code with below configuration
NOTE: If you're new to MCP servers, follow this link Use MCP servers in VS Code
After installation, the Selenium MCP server will be available for use with your GitHub Copilot agent in VS Code.
Using npm:
Using Smithery
To install Selenium MCP for Claude Desktop automatically via
Add to your Claude Desktop configuration:

An example prompt to start AI Agent interaction:
Using selenium mcp tools, navigate to <https://parabank.parasoft.com/> click the 'Register' link and signup using dynamic test data and click register. Then generate selenium tests in <YOUR_FAVOURITE_PROGRAMMING_LANGUAGE> using pom, create tests using cucumber features, steps and execute the tests.
Note: For more prompts, look at examples directory of the project
| Tool | Description | Parameters |
|---|---|---|
browser_open | Open a new browser session | browser, options |
browser_navigate | Navigate to a URL | url |
browser_navigate_back | Navigate back in history | None |
browser_navigate_forward | Navigate forward in history | None |
browser_title | Get the current page title | None |
browser_refresh | Refresh the current page | None |
browser_get_url | Get the current page URL | None |
browser_get_page_source | Get the current page HTML source | None |
browser_maximize | Maximize the browser window | None |
browser_resize | Resize browser window | width, height |
browser_close | Close current browser session | None |
| Tool | Description | Parameters |
|---|---|---|
browser_get_cookies | Get all cookies from the current browser session | None |
browser_get_cookie_by_name | Get a specific cookie by name | cookie (cookie name) |
browser_add_cookie_by_name | Add a new cookie to the browser | cookie (cookie name), value |
browser_set_cookie_object | Set a cookie object in the browser | cookie (cookie object as string) |
browser_delete_cookie | Delete a specific cookie by name | value (cookie name to delete) |
browser_delete_cookies | Delete all cookies from the current browser session | None |
| Tool | Description | Parameters |
|---|---|---|
browser_switch_to_window | Switch to a different browser window by handle | windowHandle |
browser_switch_to_original_window | Switch back to the original browser window | None |
browser_switch_to_window_by_title | Switch to a window by its page title | title |
browser_switch_window_by_index | Switch to a window by its index position | index |
browser_switch_to_window_by_url | Switch to a window by its URL | url |
| Tool | Description | Parameters |
|---|---|---|
browser_find_element | Find an element on the page | by, value, timeout |
browser_find_elements | Find multiple elements on the page | by, value, timeout |
browser_click | Click on an element | by, value, timeout |
browser_type | Type text into an element | by, value, text, timeout |
browser_get_element_text | Get text content of element | by, value, timeout |
browser_file_upload | Upload file via input element | by, value, filePath, timeout |
browser_clear | Clear text from an element | by, value, timeout |
browser_get_attribute | Get element attribute value | by, value, attribute, timeout |
| Tool | Description | Parameters |
|---|---|---|
browser_element_is_displayed | Check if an element is visible on the page | by, value, timeout |
browser_element_is_enabled | Check if an element is enabled for interaction | by, value, timeout |
browser_element_is_selected | Check if an element is selected (checkboxes, radio buttons) | by, value, timeout |
| Tool | Description | Parameters |
|---|---|---|
browser_switch_to_frame | Switch to an iframe element | by, value, timeout |
browser_switch_to_parent_frame | Switch to the parent frame (from nested iframe) | None |
browser_switch_to_default_content | Switch back to the main page content | None |
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/selenium-mcp-2)<a href="https://allmcps.com/mcp/selenium-mcp-2"><img src="https://allmcps.com/api/badge/selenium-mcp-2?style=directory" alt="Selenium MCP on AllMCPs" /></a>