Skip to main content
Transform your testing process with: Real Device Features, Company-wide Licences, & App Percy

Upload Media Files

You can upload your custom media files like images and videos to the BrowserStack servers for you to be able to use in your test. You can upload your custom media on BrowserStack servers using REST API.

Use the hashed url returned as a result of the upload to set uploadMedia parameter in your test run.

Note:

  • Only 5 files are allowed per test
  • Supported format for images are JPG, JPEG, PNG, GIF, BMP
  • Max file size allowed for images is 10MB
  • Supported format for videos are .mp4, .mov and .3gp
  • Max file size allowed for videos is 50MB
Parameter Required / Optional Description
uploadMedia Optional Set this parameter if you want to use your uploaded images or videos in the test. Upload your custom media on BrowserStack servers using REST API. Use the hashed url returned as a result of the upload in this capability. Example: [“media://hashedid”, “media://hashedid”]

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