Skip to content
Claude Code

Selenium AI Agent for Claude Code

io.github.learn-automated-testing/selenium-ai-agent

Selenium MCP: plan, generate and heal tests; pytest by default, any language; Selenium Grid

client:Claude Code transport:stdio runtime:npm

Install Selenium AI Agent in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add selenium-ai-agent -e SELENIUM_HEADLESS=<SELENIUM_HEADLESS> -e SELENIUM_MCP_TOOLSETS=<SELENIUM_MCP_TOOLSETS> -e SELENIUM_GRID_URL=<SELENIUM_GRID_URL> -e SELENIUM_ATTACH_CDP=<SELENIUM_ATTACH_CDP> -e SELENIUM_MCP_OUTPUT_MODE=<SELENIUM_MCP_OUTPUT_MODE> -- npx -y selenium-ai-agent

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

Selenium AI Agent in other clients