robotframework-mcp

v1.3.0
robotframework-mcp Checked 4 days ago Published 1 month ago

MCP server for Robot Framework test automation (SeleniumLibrary and Playwright/Browser library backends)

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

browser_launch

Launch a browser, navigate to url, and start a live session. browser: 'Chrome' (default) or 'Firefox'. headless: run without a visible window when True. Must be called before any other browser_* tool.

ParameterTypeDescription
url *string
browserstring
headlessboolean

browser_navigate

Navigate the open browser session to a new URL.

ParameterTypeDescription
url *string

browser_click

Click an element identified by selector. Selector formats: id=, name=, css=, xpath=, class=, tag=, link=, partial_link= or plain CSS (default). timeout: seconds to wait for the element to be clickable.

ParameterTypeDescription
selector *string
timeoutinteger

browser_send_keys

Type text into an input element. clear_first: clear existing content before typing (default True). Selector formats: id=, name=, css=, xpath=, class=, tag= or plain CSS.

ParameterTypeDescription
selector *string
text *string
clear_firstboolean
timeoutinteger

browser_get_text

Return the visible text content of an element.

ParameterTypeDescription
selector *string
timeoutinteger

browser_wait_for_element

Wait for an element to reach a given state. state: 'visible' (default), 'present', 'clickable', or 'hidden'. Returns confirmation when the condition is met or a timeout error.

ParameterTypeDescription
selector *string
statestring
timeoutinteger

browser_screenshot

Take a screenshot of the current browser page. filename: optional path/name for the PNG file. If omitted, a timestamped file is created in the current directory. Returns the absolute path of the saved screenshot.

ParameterTypeDescription
filenamestring

browser_close

Close the active browser session.

create_login_test_case

Generate Robot Framework test case code for login functionality. Returns the complete .robot file content as text - does not execute the test.

ParameterTypeDescription
password *string
url *string
username *string
template_typestring

create_page_object_login

Generate Robot Framework page object model code for login page. Returns .robot file content as text - does not execute.

ParameterTypeDescription
template_typestring

create_advanced_selenium_keywords

Generate Robot Framework keywords for advanced Selenium operations. Returns .robot file content as text - does not execute.

create_extended_selenium_keywords

Generate extended Robot Framework keywords for screenshots, performance monitoring, and window management. Returns .robot file content as text - does not execute.

create_performance_monitoring_test

Generate Robot Framework performance monitoring test code. Returns complete .robot file content as text - does not execute.

create_data_driven_test

Generate Robot Framework data-driven test template code. Returns .robot file content as text - does not execute.

ParameterTypeDescription
test_data_filestring

create_api_integration_test

Generate Robot Framework API integration test code. Returns .robot file content as text - does not execute.

ParameterTypeDescription
base_url *string
endpoint *string
methodstring

validate_robot_framework_syntax

Validate Robot Framework syntax and provide suggestions. Returns validation report as text - does not execute code.

ParameterTypeDescription
robot_code *string

create_cicd_pipeline

Generate a GitHub Actions workflow file for running Robot Framework tests. Returns the complete YAML content to save as .github/workflows/robot-tests.yml. project_name: workflow and artifact name (default 'robot-tests'). python_version: Python version for the runner. Defaults to the version currently running this MCP server (e.g. '3.11'). Pass explicitly to override. test_directory: path to the Robot Framework test folder (default 'tests/'). trigger_branches: comma-separated branch names that trigger the workflow (default 'main'). schedule: optiona…

ParameterTypeDescription
output_dirstring
project_namestring
python_versionstring
requirements_filestring
schedulestring
test_directorystring
trigger_branchesstring