Skip to content

Commit

Permalink
Add chromedriverUseSystemExecutable cap to pass to appium-chromedriver
Browse files Browse the repository at this point in the history
  • Loading branch information
imurchie committed Jul 12, 2018
1 parent ed4f9fa commit 65e961a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/commands/context.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ helpers.setupNewChromedriver = async function setupNewChromedriver (opts, curDev
executableDir: opts.chromedriverExecutableDir,
mappingPath: opts.chromedriverChromeMappingFile,
bundleId: opts.chromeBundleId,
useSystemExecutable: opts.chromedriverUseSystemExecutable,
});

// make sure there are chromeOptions
Expand Down
3 changes: 3 additions & 0 deletions lib/desired-caps.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ let commonCapConstraints = {
chromedriverChromeMappingFile: {
isString: true
},
chromedriverUseSystemExecutable: {
isBoolean: true
},
autoWebviewTimeout: {
isNumber: true
},
Expand Down

0 comments on commit 65e961a

Please sign in to comment.