Skip to main content
Glama
seleniumbase

SeleniumBase MCP Server

Official
by seleniumbase

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
start_browserA

Start a new browser session. Must be called before any other tool.

Args: headless: Run without a visible window. Set False if you need to watch the browser or if a site blocks headless clients. browser: "chrome", "edge", or "firefox". uc: Undetected-chromedriver mode, useful for sites with bot detection. incognito: Launch in a private/incognito window.

close_browserA

Close the browser and end the session.

navigateB

Navigate to a URL.

go_backA

Go back one page in browser history.

go_forwardB

Go forward one page in browser history.

refresh_pageA

Refresh the current page.

get_current_urlA

Get the URL of the current page.

get_titleA

Get the title of the current page.

get_page_sourceA

Get the full HTML source of the current page.

get_textA

Get the visible text of an element matched by a CSS selector.

find_elements_countA

Count how many elements on the page match a CSS selector.

is_element_visibleA

Check whether an element matched by a CSS selector is visible.

clickA

Click an element.

Args: selector: CSS selector or XPath string identifying the element. by: "css" or "xpath".

type_textB

Type text into an input field.

Args: selector: CSS selector for the field. text: Text to type. clear_first: Clear the field's existing contents before typing.

select_optionC

Select a dropdown () option by its visible text.

wait_for_elementB

Wait until an element matched by a CSS selector appears.

switch_to_frameB

Switch driver focus into an iframe matched by a CSS selector.

switch_to_default_contentA

Switch driver focus back out to the main page (out of any iframe).

assert_textB

Assert that text is present on the page, or within a specific element.

Raises an error (returned as a tool error to the client) if not found.

activate_cdp_modeB

Switch the current session into Pure CDP Mode, optionally navigating to a URL. Once active, CDP-only capabilities (e.g. more thorough stealth) apply to subsequent actions. Requires uc=True.

solve_captchaB

Attempt to solve a captcha (e.g. Cloudflare Turnstile) on the page.

screenshotB

Take a screenshot of the current page and save it to disk.

execute_scriptC

Execute JavaScript in the page context and return the result.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/seleniumbase/seleniumbase-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server