You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by al...@apache.org on 2016/08/02 08:47:36 UTC
cordova-paramedic git commit: Fixed "driver.then is not a function"
Repository: cordova-paramedic
Updated Branches:
refs/heads/master 8b6fc48b0 -> 3e1caa77f
Fixed "driver.then is not a function"
Project: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/commit/3e1caa77
Tree: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/tree/3e1caa77
Diff: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/diff/3e1caa77
Branch: refs/heads/master
Commit: 3e1caa77f46c924e196744c05943b0d49d66c0d0
Parents: 8b6fc48
Author: Alexander Sorokin <al...@akvelon.com>
Authored: Tue Aug 2 11:47:18 2016 +0300
Committer: Alexander Sorokin <al...@akvelon.com>
Committed: Tue Aug 2 11:47:18 2016 +0300
----------------------------------------------------------------------
lib/appium/helpers/wdHelper.js | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-paramedic/blob/3e1caa77/lib/appium/helpers/wdHelper.js
----------------------------------------------------------------------
diff --git a/lib/appium/helpers/wdHelper.js b/lib/appium/helpers/wdHelper.js
index 370352b..791d578 100644
--- a/lib/appium/helpers/wdHelper.js
+++ b/lib/appium/helpers/wdHelper.js
@@ -107,6 +107,7 @@ module.exports.getWebviewContext = function (driver, retries) {
}
// no webview context, the app is still loading
return driver
+ .sleep(1000)
.then(function () {
if (retries > 0) {
console.log('No webview context. Retries remaining: ' + retries);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org