Selenium MCP Server
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 MCP ServerGo to wikipedia.org and search for 'Selenium'"
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 Server
A Model Context Protocol (MCP) server that provides browser automation capabilities using Selenium WebDriver.
Features
Browser Automation: Navigate, click, type, and interact with web pages
Element Interaction: Find elements by CSS selectors, wait for elements, get text content
Screenshots: Capture screenshots of the current page
JavaScript Execution: Execute custom JavaScript in the browser
Page Information: Get page title and current URL
Headless Mode: Run browser in headless mode for CI/CD environments
Related MCP server: mcp-chrome-server
Prerequisites
Node.js (v16 or higher)
Chrome browser (for WebDriver)
npm
Installation
Install dependencies:
npm installConfigure the server by editing
config.json:
{
"selenium": {
"browser": "chrome",
"headless": true,
"timeout": 30000,
"windowSize": {
"width": 1920,
"height": 1080
}
}
}Usage
Starting the Server
npm startThe server runs on stdio and communicates using the MCP protocol.
Available Tools
The server provides the following tools:
navigate - Navigate to a URL
Parameters:
url(string, required)
click - Click on an element
Parameters:
selector(string, required) - CSS selector
type - Type text into an element
Parameters:
selector(string, required),text(string, required)
get_text - Get text content of an element
Parameters:
selector(string, required)
wait_for_element - Wait for an element to be present
Parameters:
selector(string, required),timeout(number, optional)
screenshot - Take a screenshot
Parameters:
filename(string, optional)
get_title - Get the page title
Parameters: none
get_url - Get the current URL
Parameters: none
execute_script - Execute JavaScript
Parameters:
script(string, required)
close_browser - Close the browser session
Parameters: none
Configuration
Edit config.json to customize:
browser: Browser to use (chrome, firefox, etc.)
headless: Run in headless mode (true/false)
timeout: Default timeout for operations (milliseconds)
windowSize: Browser window dimensions
Example Usage
Here's an example of how to use the server tools:
Navigate to a page:
navigate: { "url": "https://example.com" }Wait for an element:
wait_for_element: { "selector": "#login-button" }Type into an input:
type: { "selector": "#username", "text": "user123" }Click a button:
click: { "selector": "#login-button" }Take a screenshot:
screenshot: { "filename": "login.png" }Close the browser:
close_browser: {}Troubleshooting
Ensure Chrome browser is installed
Make sure ChromeDriver is compatible with your Chrome version
Check that the port in config.json is not already in use
Verify Node.js version is 16 or higher
License
ISC
AI_Automation_Framework_With_MCP_Server
This is an Automation framework which is built with AI using MCP Server,Java MCP Client and Automated Flows of Google Search
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.Last updated860423MIT
- FlicenseCqualityDmaintenanceEnables browser automation, including navigation, form filling, login with CAPTCHA handling, and element manipulation, using a Chrome-based MCP server.Last updated364
- Alicense-qualityBmaintenanceEnables MCP clients to drive a real, logged-in Chrome browser for web automation tasks like navigation, clicking, typing, and screenshotting.Last updated181MIT
- Flicense-qualityCmaintenanceEnables MCP clients to control a real local browser window for web automation tasks such as clicking, typing, scrolling, and taking screenshots.Last updated19
Related MCP Connectors
Hosted real Google Chrome MCP with per-user persistent state. Navigate, click, type, screenshot.
Access Kernel's cloud-based browsers and app actions via MCP (remote HTTP + OAuth).
Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.
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/zulfiqar90/AI_Automation_Framework_With_MCP_Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server