Get Automation Test Selenium Logs
getAutomationTestSeleniumLogsFetches Selenium logs (web), Appium logs (mobile/Appium), or instrumentation logs (mobile/XCUI/Espresso) for a specific automation test. Automatically detects XCUI and Espresso tests and fetches the correct log type.
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": "getAutomationTestSeleniumLogs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| testId | Yes | The ID of the automation test to fetch logs for | |
| platform | Yes | The platform type: "web" for Selenium logs, "app" for Appium/instrumentation logs | |
| sessionId | No | Required for app platform: the session_id of the app session, a UUID that listMobileSessions and getAutomationTestDetails return (not the test ID) |