Making sure toLowerCase() is still used for chrome.js

This commit is contained in:
Vitalii Grygoruk
2014-04-01 00:04:27 +02:00
parent 0cbfa68b4a
commit fba9410f26

View File

@@ -24,7 +24,7 @@ ChromeAndroid.prototype.init = function () {
ChromeAndroid.prototype.configure = function (args, caps, cb) {
logger.info("Looks like we want chrome on android");
this._deviceConfigure(args, caps);
var app = this.appString();
var app = this.appString().toLowerCase();
if (app === "chromium") {
this.args.androidPackage = "org.chromium.chrome.testshell";
this.args.androidActivity = "org.chromium.chrome.testshell.Main";