selenium-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@selenium-mcpStart Chrome, navigate to google.com, and search for 'MCP'."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
selenium-mcp
A MCP server for selenium
install
uv sync
mcp config
{
"mcpServers": {
"selenium": {
"command": "cmd",
"args": ["/c", "uv", "run", "D:/github/selenium-mcp/server.py"],
"env": {}
}
}
}tools
start_browser
Start a browser (supports Chrome and Firefox) :param browser: Browser type ("chrome" or "firefox") :param headless: Whether to run in headless mode :param arguments: Additional startup arguments
navigate
Navigates the browser to a specified URL. :param url: The URL to navigate to.
find_element
Finds an element on the page. :param by: Locator strategy to find the element (e.g., "id", "css", "xpath", etc.). :param value: The value for the locator strategy. :param timeout: Maximum time to wait for the element in milliseconds (default: 10000ms).
click_element
Clicks an element on the page. :param by: Locator strategy (e.g., "id", "css", "xpath", etc.). :param value: The value for the locator strategy. :param timeout: Maximum time to wait for the element in milliseconds (default: 10000ms).
send_keys
Sends keys to an element (typing). :param by: Locator strategy (e.g., "id", "css", "xpath", etc.). :param value: The value for the locator strategy. :param text: The text to send to the element. :param timeout: Maximum time to wait for the element in milliseconds (default: 10000ms).
get_element_text
Gets the text of an element. :param by: Locator strategy (e.g., "id", "css", "xpath", etc.). :param value: The value for the locator strategy. :param timeout: Maximum time to wait for the element in milliseconds (default: 10000ms).
hover
Hovers over an element. :param by: Locator strategy (e.g., "id", "css", "xpath", etc.). :param value: The value for the locator strategy. :param timeout: Maximum time to wait for the element in milliseconds (default: 10000ms).
drag_and_drop
Drags an element and drops it onto another element. :param by: Locator strategy for the source element. :param value: The value for the source locator strategy. :param target_by: Locator strategy for the target element. :param target_value: The value for the target locator strategy. :param timeout: Maximum time to wait for the elements in milliseconds (default: 10000ms).
double_click
Performs a double click on an element. :param by: Locator strategy (e.g., "id", "css", "xpath", etc.). :param value: The value for the locator strategy. :param timeout: Maximum time to wait for the element in milliseconds (default: 10000ms).
right_click
Performs a right click (context click) on an element. :param by: Locator strategy (e.g., "id", "css", "xpath", etc.). :param value: The value for the locator strategy. :param timeout: Maximum time to wait for the element in milliseconds (default: 10000ms).
press_key
Simulates pressing a keyboard key. :param key: Key to press (e.g., "Enter", "Tab", "a", etc.).
upload_file
Uploads a file using a file input element. :param by: Locator strategy (e.g., "id", "css", "xpath", etc.). :param value: The value for the locator strategy. :param file_path: Absolute path to the file to upload. :param timeout: Maximum time to wait for the element in milliseconds (default: 10000ms).
take_screenshot
Captures a screenshot of the current page. :param output_path: Optional path where to save the screenshot. If not provided, returns base64 data.
close_session
Closes the current browser session.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceEnables browser automation using the Selenium WebDriver through MCP, supporting browser management, element location, and both basic and advanced user interactions.993424MIT
- AlicenseBqualityCmaintenanceEnables AI assistants to automate web browser interactions through Selenium WebDriver. Supports multi-browser automation, element interaction, navigation, and web testing capabilities.56626MIT
- AlicenseBqualityDmaintenanceEnables browser automation using Selenium, including navigation, element interaction, screenshots, and cookie management, through both local STDIO and Streamable HTTP transports.26MIT
- Alicense-qualityCmaintenanceEnables AI agents to automate browser interactions using Selenium WebDriver, supporting multiple browsers and tools for navigation, clicking, typing, screenshots, and more.993MIT
Related MCP Connectors
AI-powered browser automation — navigate, click, fill forms, and extract data from any website.
Automate cloud browsers to navigate websites, interact with elements, and extract structured data.…
Provides cloud browser automation capabilities using Stagehand and Browserbase, enabling LLMs to i…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/masx200/selenium-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server