Misleading error message for a Valid Platform

This commit is contained in:
shyam
2014-04-13 18:58:31 -04:00
parent 6257cdb5e6
commit c8ebaced2e

View File

@@ -145,7 +145,7 @@ Appium.prototype.getDeviceFromMJSONWP = function (args, caps) {
throw new Error("Could not determine your device. You sent in a " +
"platformName capability of '" + platform + "' but that " +
"is not a supported platform. Supported platforms are: " +
"iOS, Android, Selendroid, and FirefoxOS");
"iOS, Android and FirefoxOS");
}
var type = this.getDeviceTypeFromAutomationName(automation) ||
this.getDeviceTypeFromBrowserName(browser) ||