Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Commit

Permalink
feat: allow the user to disable browserstack video recording
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeChampion authored and dignifiedquire committed Jun 19, 2017
1 parent c94d6f9 commit b3cce6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion index.js
Expand Up @@ -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') {
Expand Down

0 comments on commit b3cce6c

Please sign in to comment.