Video recording

Every test session executed on BrowserStack is recorded as it is executed on our remote device. Video recordings are particularly helpful whenever a test fails as they help you retrace the steps which led to the failure. You can download or view the video logs in full-screen mode from the dashboard. Video is enabled by default. To disable the video, use the browserstack.video capability

Capability Description Video
browserstack.video Enable/Disable video recording of your test true, false
Default: true
DesiredCapabilities desiredCapabilities = new DesiredCapabilities();
desiredCapabilities.setCapability("browserstack.video", "false");
var capabilities = {
	'browserstack.video': 'false'
}
DesiredCapabilities capability = new DesiredCapabilities();
capability.SetCapability("browserstack.video", "false");
$capabilities = new DesiredCapabilities();
$capabilities->setCapability("browserstack.video", "false");
desired_cap = {
	'browserstack.video': 'false'
}
desired_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.

video

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"