From 729fc40b19b907c8257fe71e509a6aeec46d8d3d Mon Sep 17 00:00:00 2001 From: Isaac Murchie Date: Wed, 14 Nov 2018 11:18:46 -0500 Subject: [PATCH] Add chromedriverDisableBuildCheck cap --- lib/commands/context.js | 1 + lib/desired-caps.js | 3 +++ package.json | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/commands/context.js b/lib/commands/context.js index 86815c06..1fef75d3 100644 --- a/lib/commands/context.js +++ b/lib/commands/context.js @@ -280,6 +280,7 @@ helpers.setupNewChromedriver = async function setupNewChromedriver (opts, curDev mappingPath: opts.chromedriverChromeMappingFile, bundleId: opts.chromeBundleId, useSystemExecutable: opts.chromedriverUseSystemExecutable, + disableBuildCheck: opts.chromedriverDisableBuildCheck, }); // make sure there are chromeOptions diff --git a/lib/desired-caps.js b/lib/desired-caps.js index bbdc848e..929f7be4 100644 --- a/lib/desired-caps.js +++ b/lib/desired-caps.js @@ -88,6 +88,9 @@ let commonCapConstraints = { chromedriverUseSystemExecutable: { isBoolean: true }, + chromedriverDisableBuildCheck: { + isBoolean: true + }, autoWebviewTimeout: { isNumber: true }, diff --git a/package.json b/package.json index 746c63cf..937876a2 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "@babel/runtime": "^7.0.0", "appium-adb": "^6.25.0", "appium-base-driver": "^3.0.0", - "appium-chromedriver": "^4.0.0", + "appium-chromedriver": "^4.8.0", "appium-support": "^2.24.1", "asyncbox": "^2.0.4", "bluebird": "^3.4.7",