Get Automation Test Selenium Logs
automation_get_selenium_logsGets the raw driver log of a TestMu AI automation test: the Selenium log for web tests, the Appium log for app tests, or the instrumentation log for XCUI and Espresso app tests (detected from the test). About 40,000 characters are returned per call: the result gives next_offset when more remains.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"testId": "<testId>",
"platform": "<platform>"
},
"name": "automation_get_selenium_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | Character to start from (default 0); pass next_offset from the previous result | |
| testId | Yes | Test ID, from automation_list_sessions; for app tests it is used to detect XCUI and Espresso | |
| platform | Yes | "web" for Selenium logs, "app" for Appium or instrumentation logs | |
| sessionId | No | Required for app platform: the session_id of the app session, a UUID that app_list_sessions and automation_get_test return (not the test ID) |