New advertisers: 50% off your first month with code FIRSTMONTHSee slots
learn-automated-testing avatar

Selenium AI Agent

learn-automated-testing/selenium_agent

Browser automation through Selenium WebDriver: plan, generate, run, and repair browser tests from prompts.

GitHub stars
3
tools
74
transport
STDIO
env vars
5
last updated
Nov 21, 2026
View on GitHub

What it does

  • Runs planner, generator, and healer agents with planner_explore_page, generator_write_test, and healer_fix_test, plus analyzer_scan_product for risk profiles
  • Drives the browser directly with navigate_to, click_element, input_text, and take_screenshot, and checks results via verify_text_visible and verify_element_visible
  • Runs locally over stdio through npx selenium-ai-agent, with browser drivers downloaded automatically and Selenium Grid available for parallel sessions
  • Designed for QA teams generating pytest suites by default, with Java, C#, JavaScript, and Robot Framework also supported

Tools

74 tools

Public tool metadata for what this MCP can expose to an agent.

planner_setup_pagePlanner agent tool; the README names it in the Planner row of the test agents table.

Planner agent tool; the README names it in the Planner row of the test agents table.

No parameter schema in public metadata yet.

planner_explore_pagePlanner agent tool; the README names it in the Planner row of the test agents table.

Planner agent tool; the README names it in the Planner row of the test agents table.

No parameter schema in public metadata yet.

planner_save_planPlanner agent tool; the README names it in the Planner row of the test agents table.

Planner agent tool; the README names it in the Planner row of the test agents table.

No parameter schema in public metadata yet.

generator_setup_pageGenerator agent tool; the README names it in the Generator row of the test agents table.

Generator agent tool; the README names it in the Generator row of the test agents table.

No parameter schema in public metadata yet.

generator_read_logGenerator agent tool; the README names it in the Generator row of the test agents table.

Generator agent tool; the README names it in the Generator row of the test agents table.

No parameter schema in public metadata yet.

generator_write_testGenerator agent tool; the README names it in the Generator row of the test agents table.

Generator agent tool; the README names it in the Generator row of the test agents table.

No parameter schema in public metadata yet.

generator_write_seedGenerator agent tool; the README names it in the Generator row of the test agents table.

Generator agent tool; the README names it in the Generator row of the test agents table.

No parameter schema in public metadata yet.

generator_save_specGenerator agent tool; the README names it in the Generator row of the test agents table.

Generator agent tool; the README names it in the Generator row of the test agents table.

No parameter schema in public metadata yet.

generator_read_specGenerator agent tool; the README names it in the Generator row of the test agents table.

Generator agent tool; the README names it in the Generator row of the test agents table.

No parameter schema in public metadata yet.

healer_run_testsHealer agent tool; the README names it in the Healer row of the test agents table.

Healer agent tool; the README names it in the Healer row of the test agents table.

No parameter schema in public metadata yet.

healer_debug_testHealer agent tool; the README names it in the Healer row of the test agents table.

Healer agent tool; the README names it in the Healer row of the test agents table.

No parameter schema in public metadata yet.

healer_fix_testHealer agent tool; the README names it in the Healer row of the test agents table.

Healer agent tool; the README names it in the Healer row of the test agents table.

No parameter schema in public metadata yet.

healer_inspect_pageHealer agent tool; the README names it in the Healer row of the test agents table.

Healer agent tool; the README names it in the Healer row of the test agents table.

No parameter schema in public metadata yet.

browser_generate_locatorHealer agent tool; the README names it in the Healer row of the test agents table.

Healer agent tool; the README names it in the Healer row of the test agents table.

No parameter schema in public metadata yet.

analyzer_setupAnalyzer agent tool; the README names it in the Analyzer row of the test agents table.

Analyzer agent tool; the README names it in the Analyzer row of the test agents table.

No parameter schema in public metadata yet.

analyzer_import_contextAnalyzer agent tool; the README names it in the Analyzer row of the test agents table.

Analyzer agent tool; the README names it in the Analyzer row of the test agents table.

No parameter schema in public metadata yet.

analyzer_scan_productAnalyzer agent tool; the README names it in the Analyzer row of the test agents table.

Analyzer agent tool; the README names it in the Analyzer row of the test agents table.

No parameter schema in public metadata yet.

analyzer_build_risk_profileAnalyzer agent tool; the README names it in the Analyzer row of the test agents table.

Analyzer agent tool; the README names it in the Analyzer row of the test agents table.

No parameter schema in public metadata yet.

analyzer_save_profileAnalyzer agent tool; the README names it in the Analyzer row of the test agents table.

Analyzer agent tool; the README names it in the Analyzer row of the test agents table.

No parameter schema in public metadata yet.

analyzer_generate_documentationAnalyzer agent tool; the README names it in the Analyzer row of the test agents table.

Analyzer agent tool; the README names it in the Analyzer row of the test agents table.

No parameter schema in public metadata yet.

navigate_to

No parameter schema in public metadata yet.

go_back

No parameter schema in public metadata yet.

go_forward

No parameter schema in public metadata yet.

refresh_page

No parameter schema in public metadata yet.

capture_page

No parameter schema in public metadata yet.

take_screenshot

No parameter schema in public metadata yet.

click_element

No parameter schema in public metadata yet.

hover_element

No parameter schema in public metadata yet.

select_option

No parameter schema in public metadata yet.

drag_drop

No parameter schema in public metadata yet.

input_text

No parameter schema in public metadata yet.

key_press

No parameter schema in public metadata yet.

file_upload

No parameter schema in public metadata yet.

mouse_move

No parameter schema in public metadata yet.

mouse_click

No parameter schema in public metadata yet.

mouse_drag

No parameter schema in public metadata yet.

verify_element_visible

No parameter schema in public metadata yet.

verify_text_visible

No parameter schema in public metadata yet.

verify_value

No parameter schema in public metadata yet.

verify_list_visible

No parameter schema in public metadata yet.

wait_for

No parameter schema in public metadata yet.

execute_javascript

No parameter schema in public metadata yet.

dialog_handle

No parameter schema in public metadata yet.

console_logs

No parameter schema in public metadata yet.

network_monitor

No parameter schema in public metadata yet.

resize_window

No parameter schema in public metadata yet.

pdf_generate

No parameter schema in public metadata yet.

tab_list

No parameter schema in public metadata yet.

tab_select

No parameter schema in public metadata yet.

tab_new

No parameter schema in public metadata yet.

tab_close

No parameter schema in public metadata yet.

close_browser

No parameter schema in public metadata yet.

reset_session

No parameter schema in public metadata yet.

set_stealth_mode

No parameter schema in public metadata yet.

start_recording

No parameter schema in public metadata yet.

stop_recording

No parameter schema in public metadata yet.

recording_status

No parameter schema in public metadata yet.

clear_recording

No parameter schema in public metadata yet.

batch_execute

No parameter schema in public metadata yet.

get_selenium_docsCurrent Selenium / WebdriverIO docs from their llms.txt.

Current Selenium / WebdriverIO docs from their llms.txt.

No parameter schema in public metadata yet.

grid_statusCheck Grid health, nodes and capacity.

Check Grid health, nodes and capacity.

No parameter schema in public metadata yet.

grid_startStart the Docker Compose Grid.

Start the Docker Compose Grid.

No parameter schema in public metadata yet.

grid_stopStop the Docker Compose Grid.

Stop the Docker Compose Grid.

No parameter schema in public metadata yet.

grid_scaleScale Grid nodes up or down.

Scale Grid nodes up or down.

No parameter schema in public metadata yet.

session_createCreate browser sessions on the Grid.

Create browser sessions on the Grid.

No parameter schema in public metadata yet.

session_selectSwitch browser sessions on the Grid.

Switch browser sessions on the Grid.

No parameter schema in public metadata yet.

session_listList browser sessions on the Grid.

List browser sessions on the Grid.

No parameter schema in public metadata yet.

session_destroyClean up one browser session.

Clean up one browser session.

No parameter schema in public metadata yet.

session_destroy_allClean up all browser sessions.

Clean up all browser sessions.

No parameter schema in public metadata yet.

parallel_exploreExplore several URLs at the same time.

Explore several URLs at the same time.

No parameter schema in public metadata yet.

parallel_executeRun tasks in parallel across sessions.

Run tasks in parallel across sessions.

No parameter schema in public metadata yet.

exploration_mergeCombine exploration results.

Combine exploration results.

No parameter schema in public metadata yet.

exploration_diffCompare exploration results.

Compare exploration results.

No parameter schema in public metadata yet.

planner_generate_planGenerate a test plan from an exploration.

Generate a test plan from an exploration.

No parameter schema in public metadata yet.

Configuration

SELENIUM_HEADLESSdefault: false

Run the browser in headless mode

SELENIUM_MCP_TOOLSETSdefault: all

Tool groups to load: core, recording, planner, generator, healer, analyzer, grid or all

SELENIUM_GRID_URL

Selenium Grid hub URL, e.g. http://localhost:4444 (enables parallel execution)

SELENIUM_ATTACH_CDP

Attach to an already running Chrome at host:port, e.g. 127.0.0.1:9222

SELENIUM_MCP_OUTPUT_MODEdefault: stdout

stdout returns data to the LLM; file saves screenshots and outputs to disk

Readme

Selenium AI Agent

npm version License: MIT YouTube tutorials Selenium Grid

AI test agents for Selenium: plan, review, generate and heal tests from a prompt, with reports linked to the test plan you approved.

Selenium AI Agent (selenium-ai-agent on npm) is an MCP server that lets your AI assistant drive a real browser through Selenium WebDriver and build a test suite for you.


View the full README on GitHub

Details

Repository
github.com/learn-automated-testing/selenium_agent
Website
github.com/learn-automated-testing/selenium_agent#readme
Categories
Testing & QA, Browser Automation & Scraping
Package
selenium-ai-agent
Transport
STDIO
Registry
MCP registry, active

Similar to Selenium AI Agent

More Testing & QA