browser_set_cookie
Inject a cookie (auth tokens, session IDs)
How to use it
Project documentation lists browser_set_cookie for the MCP Server Webdriver MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install MCP Server Webdriver
mcp-server-webdriver -P workOther tools in MCP Server Webdriver (37)
Accept a JS alert() / confirm() / prompt()
Go back in history
Click element (CSS selector)
Quit the browser session
Dismiss a JS confirm() / prompt()
Run JavaScript — returns JSON
Type text into an input field (clears first by default)
List all elements matching a CSS selector
Go forward in history
Value of an HTML attribute on an element (wrapped as untrusted content)
Read all cookies for the current page
Raw HTML source (wrapped as untrusted content — see Security)
Visible text (whole page or CSS selector; wrapped as untrusted content)
Current page <title>
Current URL
Hover mouse over element (:hover states, tooltips, dropdowns)
Navigate to a URL (bare hostnames get https://)
Open Firefox (URL optional, default about:blank); accepts width, height, useragent for mobile emulation
Send enter / tab / escape / arrow / F-keys
Reload the current page
Full-page or element PNG screenshot
Scroll to coords, by offset, or element into view
Select <option> in a <select> dropdown
Resize the viewport mid-session (e.g. 390×844 for iPhone 14)
Session state, geckodriver version, BiDi status, current viewport size, buffer counts
Switch into <iframe> or back to main document
Wait: visible / clickable / present / text:<str>
Clear buffered DevTools data (use before navigating)
Computed CSS properties of an element
Console output (log / warn / error / info / debug; entries carry an untrusted marker)
CSS custom properties (--var) in scope
Bounding box, visibility, attributes, aria, outerHTML
Attach BiDi listeners to a running session
JavaScript exceptions only (entries carry an untrusted marker)
All network requests (supports limit= and filters)
Failed resources (4xx, 5xx, DNS errors)
Main diagnostic tool — JS errors + console + failed/slow network