About selenium
selenium is an MCP server published by git+angiejones in the Productivity category: a Model Context Protocol (MCP) server for Selenium WebDriver automation with support for Chrome, Firefox, and Edge browsers. Conduid read 18 tools from its source: add_cookie, alert, close_session, delete_cookie, diagnostics, execute_script and 12 more. No package is published for it, so it installs from a source checkout.
The repository has 428 stars and 0 forks, and its last commit was on 23 Feb 2026. Conduid has no tagged release on record for it. It passes 1 of the 2 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include selenium, webdriver, browser-automation, testing, web-scraping and chrome.
Install
git clone git+https://github.com/angiejones/mcp-seleniumTools (18)
add_cookieadds a cookie to the current browser session. The browser must be on a page from the cookie's domain before setting it.| Parameter | Type | Description |
|---|---|---|
| domain | string | Domain the cookie is visible to |
| expiry | number | Expiry date of the cookie as a Unix timestamp (seconds since epoch) |
| httpOnly | boolean | Whether the cookie is HTTP only |
| name * | string | Name of the cookie |
| path | string | Path the cookie is visible to |
| secure | boolean | Whether the cookie is a secure cookie |
| value * | string | Value of the cookie |
alerthandles a browser alert, confirm, or prompt dialog| Parameter | Type | Description |
|---|---|---|
| action * | string | Action to perform on the alert |
| text | string | Text to send (required for send_text) |
| timeout | number | Max wait in ms |
close_sessioncloses the current browser sessiondelete_cookiedeletes cookies from the current browser session. Can delete a specific cookie by name or all cookies.| Parameter | Type | Description |
|---|---|---|
| name | string | Name of the cookie to delete. If omitted, all cookies are deleted. |
diagnosticsretrieves browser diagnostics (console logs, JS errors, or network activity) captured via WebDriver BiDi| Parameter | Type | Description |
|---|---|---|
| clear | boolean | Clear after returning (default: false) |
| type * | string | Type of diagnostic data to retrieve |
execute_scriptexecutes JavaScript in the browser and returns the result. Use for advanced interactions not covered by other tools (e.g., drag and drop, scrolling, reading computed styles, manipulating the DOM directly). Also useful for batch-reading multiple element values/states in a single call instead of multiple get_element_attribute calls.| Parameter | Type | Description |
|---|---|---|
| args | array | Optional arguments to pass to the script (accessible via arguments[0], arguments[1], etc.) |
| script * | string | JavaScript code to execute in the browser |
frameswitches focus to a frame or back to the main page| Parameter | Type | Description |
|---|---|---|
| action * | string | Frame action to perform |
| by | string | Locator strategy for frame element |
| index | number | Frame index (0-based) |
| timeout | number | Max wait in ms |
| value | string | Value for the locator strategy |
get_cookiesretrieves cookies from the current browser session. Returns all cookies or a specific cookie by name.| Parameter | Type | Description |
|---|---|---|
| name | string | Name of a specific cookie to retrieve. If omitted, all cookies are returned. |
get_element_attributegets the value of an attribute on an element. Use this to verify element state. Prefer this over screenshots for validation.| Parameter | Type | Description |
|---|---|---|
| attribute * | string | Name of the attribute to get (e.g., 'href', 'value', 'class') |
get_element_textgets the text content of an elementinteractperforms a mouse action on an element| Parameter | Type | Description |
|---|---|---|
| action * | string | Mouse action to perform |
navigatenavigates to a URL| Parameter | Type | Description |
|---|---|---|
| url * | string | URL to navigate to |
press_keysimulates pressing a keyboard key| Parameter | Type | Description |
|---|---|---|
| key * | string | Key to press (e.g., 'Enter', 'Tab', 'a', etc.) |
send_keyssends keys to an element, aka typing. Clears the field first.| Parameter | Type | Description |
|---|---|---|
| text * | string | Text to enter into the element |
start_browserlaunches browser| Parameter | Type | Description |
|---|---|---|
| browser * | string | Browser to launch (chrome, firefox, edge, or safari) |
take_screenshotcaptures a screenshot of the current page. Prefer using the accessibility://current resource for understanding page content. Use get_element_text, get_element_attribute, or execute_script to verify element state. Only use screenshots when visual layout or styling needs to be verified.| Parameter | Type | Description |
|---|---|---|
| outputPath | string | Optional path where to save the screenshot. If not provided, returns an image/png content block. |
upload_fileuploads a file using a file input element| Parameter | Type | Description |
|---|---|---|
| filePath * | string | Absolute path to the file to upload |
windowmanages browser windows and tabs| Parameter | Type | Description |
|---|---|---|
| action * | string | Window action to perform |
| handle | string | Window handle (required for switch) |
Security checks
- ✓README presentThe repository's README runs to about 1.3K words.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
4 checks have not been run yet.
README
The repository's README runs to about 1.3K words. The original in the repository is authoritative.
Read full README