# Selenium MCP Server

Enable AI assistants and applications to perform automated web browser interactions, testing, and scraping through a standardized interface. Control multiple browsers with comprehensive element inter…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add pshivapr/selenium-mcp

# Browse available tools
npx -y @smithery/cli@latest tool list pshivapr/selenium-mcp

# Get full schema for a tool
npx -y @smithery/cli@latest tool get pshivapr/selenium-mcp browser_open

# Call a tool
npx -y @smithery/cli@latest tool call pshivapr/selenium-mcp browser_open '{}'
```

## Direct MCP Connection

Endpoint: `https://selenium-mcp--pshivapr.run.tools`

## Tools (56)

- `browser_open` — Open a new browser session
- `browser_navigate` — Navigate to a URL
- `browser_navigate_back` — Navigate back in the browser
- `browser_navigate_forward` — Navigate forward in the browser
- `browser_title` — Get the current page title
- `browser_get_url` — Get the current page URL
- `browser_get_page_source` — Get the current page source
- `browser_maximize` — Maximize the browser window
- `browser_resize` — Resize the browser window
- `browser_refresh` — Refresh the current page
- `browser_switch_to_window` — Switch to a different browser window
- `browser_switch_to_original_window` — Switches back to the original browser window
- `browser_switch_to_window_by_title` — Switch to a window by its title
- `browser_switch_window_by_index` — Switch to a window by its index
- `browser_switch_to_window_by_url` — Switch to a window by its URL
- `browser_close` — Close the current browser session
- `browser_find_element` — Find an element
- `browser_find_elements` — Find multiple elements
- `browser_click` — Perform a click on an element
- `browser_type` — Type into an editable field
- `browser_clear` — Clears the value of an input element
- `browser_get_element_text` — Gets the text of an element
- `browser_get_attribute` — Gets the value of an attribute from an element
- `browser_element_is_displayed` — Checks if an element is displayed
- `browser_element_is_enabled` — Checks if an element is enabled
- `browser_element_is_selected` — Checks if an element is selected
- `browser_switch_to_frame` — Switches to an iframe element
- `browser_switch_to_default_content` — Switches to the default content
- `browser_switch_to_parent_frame` — Switches to the parent iframe
- `browser_file_upload` — Uploads a file using a file input element
- `browser_hover` — Hover over an element
- `browser_wait_for_element` — Wait for an element to be present
- `browser_drag_and_drop` — Perform drag and drop between two elements
- `browser_double_click` — Perform double click on an element
- `browser_right_click` — Perform right click (context click) on an element
- `browser_select_dropdown_by_text` — Select dropdown by visible text
- `browser_select_dropdown_by_value` — Select dropdown by value
- `browser_key_press` — Press a key on the keyboard
- `browser_execute_script` — Execute JavaScript in the context of the current page
- `browser_scroll_to_element` — Scroll to an element
- `browser_scroll_to_top` — Scroll to the top of the page
- `browser_scroll_to_bottom` — Scroll to the bottom of the page
- `browser_scroll_to_coordinates` — Scroll to specific coordinates
- `browser_scroll_by_pixels` — Scroll by a specific number of pixels
- `browser_select_checkbox` — Select a checkbox
- `browser_unselect_checkbox` — Unselect a checkbox
- `browser_submit_form` — Submit a form
- `browser_focus_element` — Focus on a specific element
- `browser_blur_element` — Remove focus from a specific element
- `browser_screenshot` — Take a screenshot of the current page
- `browser_get_cookies` — Get all cookies
- `browser_get_cookie_by_name` — Get a cookie by name
- `browser_add_cookie_by_name` — Add a cookie to the browser
- `browser_set_cookie_object` — Set a cookie in the browser
- `browser_delete_cookie` — Delete a cookie from the browser
- `browser_delete_cookies` — Delete cookies from the browser

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get pshivapr/selenium-mcp <tool-name>
```

---

Source: https://github.com/pshivapr/selenium-mcp | License: MIT
