mirror of
https://github.com/appium/appium.git
synced 2026-04-26 13:28:43 -05:00
cleanup, forgot to commit this file as part of a3a9038
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user