Skip to main content
Table of Contents
Documentation home icon APP AUTOMATE API

Media API

BrowserStack provides support for the uploading media files for testing

Its easy to test scenarios that require device to be setup with sample media, so that it’s available to your application during test execution.

How to use the media files in tests

  1. Before starting test execution on BrowserStack, you first need to upload the media files using REST API. The REST API response will return a media_url for each successful file upload.
  2. Set media_url value depending on the automation framework you are using:


  1. Only 5 files are allowed per test
  2. Supported format for images are JPG, JPEG, PNG, GIF, BMP and maximum file size allowed for images is 10MB
  3. Supported format for videos are .mp4, .mov and .3gp and maximum file size allowed for videos is 50MB

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