Skip to main content
Revolutionize your testing approach with our latest products - Test Observability, App Percy & Test Management.

Video recording

Every test session executed on BrowserStack is recorded, as tests are performed on our remote device. Video recordings show all the steps as a video to retrace the steps that led to the test failure. You can download or view the video logs in full-screen mode from the dashboard. Video recording is enabled by default. To disable the video recording use the capability as shown in the following code:

Capability Description Video
video Enable/Disable video recording of your test true, false
Default: true

Example

DesiredCapabilities capabilities = new DesiredCapabilities();
HashMap<String, Object> browserstackOptions = new HashMap<String, Object>();
browserstackOptions.put("video", "false");
var capabilities = {
	'bstack:options' : {
		"video" : "false",
	},
}
AppiumOptions capabilities = new AppiumOptions();
Dictionary<string, object> browserstackOptions = new Dictionary<string, object>();
browserstackOptions.Add("video", "false");
$caps = array(
    'bstack:options' => array(
        "video" => "false",
    ),
)
desired_cap = {
	'bstack:options' : {
		"video" : "false",
	},
}
capabilities = {
    'bstack:options' => {
        "video" => "false",
    },
}
Capability Description Video
browserstack.video Enable/Disable video recording of your test true, false
Default: true

Example

DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("browserstack.video", "false");
var capabilities = {
	'browserstack.video' : 'false'
}
AppiumOptions capabilities = new AppiumOptions();
capabilities.AddAdditionalCapability("browserstack.video", "false");
$caps = array(
"browserstack.video" => "false"
)
desired_cap = {
"browserstack.video" : "false"
}
caps = Selenium::WebDriver::Remote::Capabilities.new
caps["browserstack.video"] = "false"

Access video recording from the dashboard

Video recording can be viewed from the test sessions details page on the App Automate Dashboard.

Focused video on App-Automate Session Details Page

Retrieve video recording URL

You can retrieve video recording URL for any test session using our REST API :

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

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