# seleniumboot MCP server

> Enables AI assistants to control real browsers via Selenium WebDriver and generate automated test code in Python, Java, and Gherkin.

- Repository: https://github.com/seleniumboot/selenium-mcp
- Page: https://hostedmcp.org/servers/seleniumboot/selenium-mcp
- Transport: —
- Stars: 2

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `SELENIUM_MCP_TOOLS` | no | no |  |

## Tools (63)

- `start_browser`
- `navigate`
- `take_screenshot`
- `get_page_title`
- `get_current_url`
- `get_page_source`
- `execute_script`
- `refresh`
- `switch_to_window`
- `open_new_tab`
- `close_current_tab`
- `list_windows`
- `close_browser`
- `scroll_to_top`
- `scroll_to_bottom`
- `scroll_by`
- `emulate_device`
- `get_console_logs`
- `wait_for_network_idle`
- `inspect_page`
- `get_network_logs`
- `mock_response`
- `clear_mock_responses`
- `compare_screenshot`
- `check_accessibility`
- `find_element`
- `find_elements`
- `click`
- `type_text`
- `get_text`
- `get_attribute`
- `select_option`
- `hover`
- `double_click`
- `right_click`
- `drag_and_drop`
- `is_displayed`
- `is_enabled`
- `wait_for_element`
- `scroll_to_element`
- `clear_field`
- `send_keys`
- `upload_file`
- `get_alert_text`
- `type_in_alert`
- `switch_to_frame`
- `switch_to_default_content`
- `find_shadow_element`
- `get_table_data`
- `fill_form`
- `get_healed_locators`
- `clear_healed_locators`
- `assert_title`
- `assert_url`
- `assert_text`
- `assert_element_visible`
- `assert_element_not_visible`
- `assert_attribute`
- `assert_page_contains`
- `assert_element_count`
- `generate`
- `get_session_log`
- `clear_session_log`

## FAQ

### Do I need to install ChromeDriver separately?

No, Selenium Manager handles it automatically, so no separate ChromeDriver setup is required.

### What programming languages can the server generate test code for?

The server can generate test code for Python, Java, C#, Gherkin, and even CI configurations like GitHub Actions, Jenkins, and GitLab CI.

### How many tools are available with this server?

The server provides 43 tools by default, but you can enable all 77 tools by setting the SELENIUM_MCP_TOOLS environment variable to 'all'.
