cleanup, forgot to commit this file as part of a3a9038

This commit is contained in:
Jonathan Lipps
2014-12-04 09:17:34 -08:00
parent 8fdcf8370d
commit efd0bf0e53
+1 -9
View File
@@ -152,15 +152,7 @@ androidHybrid.startChromedriverProxy = function (context, cb) {
caps.chromeOptions[option] = val;
});
}
if (this.args.chromeOptions) {
_.each(this.args.chromeOptions, function (val, option) {
if (typeof caps.chromeOptions[option] === "undefined") {
caps.chromeOptions[option] = val;
} else {
logger.warn("Cannot pass option " + caps.chromeOptions[option] + " because Appium needs it to make chromeDriver work");
}
});
}
caps = this.decorateChromeOptions(caps);
this.chromedriver.createSession(caps, function (err, sessId) {
if (err) return cb(err);
logger.debug("Setting proxy session id to " + sessId);