mirror of
https://github.com/appium/appium.git
synced 2026-05-13 06:18:42 -05:00
lower timeout for iOS8
This commit is contained in:
@@ -1552,7 +1552,8 @@ IOS.prototype.getLatestWebviewContextForTitle = function (titleRegex, cb) {
|
||||
};
|
||||
|
||||
IOS.prototype.navToInitialWebview = function (cb) {
|
||||
var timeout = this.args.udid ? 6000 : 0;
|
||||
var timeout = 0;
|
||||
if (this.args.udid) timeout = parseInt(this.iOSSDKVersion, 10) >= 8 ? 4000 : 6000;
|
||||
if (timeout > 0) logger.debug('Waiting for ' + timeout + ' ms before navigating to view.');
|
||||
setTimeout(function () {
|
||||
if (parseInt(this.iOSSDKVersion, 10) >= 7 && !this.args.udid && this.capabilities.safari) {
|
||||
|
||||
Reference in New Issue
Block a user