diff --git a/README.md b/README.md index cf23d10..d7ada7e 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,7 @@ module.exports = function(config) { - `proxyPass` the password used for authentication with your proxy (optional) - `proxyProtocol` the protocol of your proxy (optional. default: `http`. valid: `http` or `https`) - `forcelocal` force traffic through the local BrowserStack tunnel, passes flag through to BrowserStackTunnel +- `video` enable video recording of session on BrowserStack (defaults to `true`) ### Per browser options diff --git a/index.js b/index.js index 7331b81..57ac0df 100644 --- a/index.js +++ b/index.js @@ -191,7 +191,8 @@ var BrowserStackBrowser = function ( process.env.CI_BUILD_TAG || process.env.TRAVIS_BUILD_NUMBER || process.env.CIRCLE_BUILD_NUM || - process.env.DRONE_BUILD_NUMBER || null + process.env.DRONE_BUILD_NUMBER || null, + video: bsConfig.video !== undefined ? bsConfig.video : true } if (typeof args.real_mobile !== 'undefined') {