Skip to main content

Appium logs

Appium logs are generated by the Appium server and contain a detailed test execution record of your Appium test session. These logs can help you troubleshoot any errors in cases where your test session failed. Appium logs are enabled by default. To disable appium logs, use the browserstack.appiumLogs capability.

Capability Description Value
browserstack.appiumLogs Capture raw Appium logs for your test. true/false
Default: true

Example :

DesiredCapabilities desiredCapabilities = new DesiredCapabilities();
desiredCapabilities.setCapability("browserstack.appiumLogs", "false");
var capabilities = {
	'browserstack.appiumLogs': 'false',
}
DesiredCapabilities capability = new DesiredCapabilities();
capability.SetCapability("browserstack.appiumLogs", "false");
$capabilities = new DesiredCapabilities();
$capabilities->setCapability("browserstack.appiumLogs", "false");
desired_cap = {
	'browserstack.appiumLogs': 'false'
}
desired_caps = {
    'browserstack.appiumLogs': 'false'
}

Access Appium logs from the dashboard:

To access the Appium server logs, in the App Automate dashboard, go to your build. Select the test and click the Appium Logs tab. You can download the Appium logs using View Raw Appium Logs link.

Appium Logs on Dashboard

Sample Appium logs for a test session :

Appium Logs for a sample test session

Access Appium logs using REST API:

You can use the following cURL request to view the Appium logs.

curl -u "YOUR_USERNAME:YOUR_ACCESS_KEY" -X GET "https://api-cloud.browserstack.com/app-automate/builds/<build-id>/sessions/<session-id>/appiumlogs"

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback!

Talk to an Expert
Talk to an Expert