Skip to main content
Transform your testing process with: Real Device Features, Company-wide Licences, & App Percy
No Result Found
Connect and get help from 7,000+ developers on our Discord community. Ask the CommunityAsk the Community

Access video recordings for Detox tests

Access video recordings of your Detox test executions on BrowserStack App Automate. Test your apps on a real device cloud.

Your Detox test session on BrowserStack is recorded exactly as it runs on the remote device. This is particularly helpful when a test fails, as it lets you see the session in action. You can access the video from the App Automate dashboard. You can also retrieve a link to download the video using our REST API.

Video logs are available on the BrowserStack dashboard for 30 days. These logs will be deleted after 30 days from the day they were generated.

Video recording is enabled by default. BrowserStack records your entire test session. Detox’s built-in video recording uses Android adb and is limited to 180 seconds per recording, so BrowserStack captures the session video independently to record the full run.

Access video recordings using the REST API

To retrieve the video recording, send a request to the get session details endpoint using your session ID. The video_url attribute in the response contains a link to download the video recording.

REST API endpoint:

GET /app-automate/detox/v2/android/sessions/<session-id>.json

Example cURL request:

Get the session details, including the video recording link, for a Detox test execution:

curl -u "YOUR_USERNAME:YOUR_ACCESS_KEY" \
-X GET "https://api-cloud.browserstack.com/app-automate/detox/v2/android/sessions/<session-id>.json"

Access video recording from the dashboard

You can view the video recording for your session from the session details page of the App Automate dashboard.

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
Download Copy Check Circle