Skip to content

Commit

Permalink
fix app vs browserName err message (fix #3945)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlipps authored and sebv committed Nov 21, 2014
1 parent dc1945c commit 69a99b7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/devices/ios/ios.js
Expand Up @@ -143,10 +143,10 @@ IOS.prototype.configure = function (args, caps, cb) {

if (!this.args.app &&
!((ios8 || this.args.udid) && this.args.bundleId)) {
msg = "Please provide the 'app' capability or start appium with the " +
"--app argument. Alternatively, you may provide the " +
"'bundleId' and 'udid' capabilities for an app under test on " +
"a real device.";
msg = "Please provide the 'app' or 'browserName' capability or start " +
"appium with the --app or --browser-name argument. Alternatively, " +
"you may provide the 'bundleId' and 'udid' capabilities for an app " +
"under test on a real device.";
logger.error(msg);

return cb(new Error(msg));
Expand Down

0 comments on commit 69a99b7

Please sign in to comment.