diff --git a/lib/devices/ios/safari.js b/lib/devices/ios/safari.js index 7aef79a46..23f5807e4 100644 --- a/lib/devices/ios/safari.js +++ b/lib/devices/ios/safari.js @@ -151,7 +151,7 @@ Safari.prototype._stop = IOS.prototype.stop; Safari.prototype.stop = function (cb) { if (this.args.udid) { logger.debug("Stopping safariLauncher"); - this.shutdown(null, null, cb); + this.shutdown(null, cb); } else { this._stop(cb); }