Text logs
Text logs are a comprehensive record of your test session. They are used to identify all the steps executed in the test and troubleshoot errors for any failed steps. Text logs include information about the test session’s desired capabilities and detailed information about every request and response. Text logs are accessible both from the App Automate dashboard, as well as using our REST API.
Text logs are enabled by default, and cannot be disabled.
Text logs are available on the BrowserStack dashboard for 60 days. These logs will be deleted after 60 days from the day they were generated.
Access text logs from the dashboard:
You can search within text logs using Find in Logs to jump to a specific section of the logs. It highlights all occurrences while performing the search in real time. Furthermore, you can conveniently navigate through each occurrence using the Enter key or the Up/Down arrow keys.
Durations of commands in text logs that are less than 0 second are shown in milliseconds.
Access text logs using REST API:
curl -u "YOUR_USERNAME:YOUR_ACCESS_KEY" -X GET "https://api-cloud.browserstack.com/app-automate/builds/<build-id>/sessions/<session-id>/logs"
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
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!