You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ti...@apache.org on 2020/09/01 09:47:41 UTC
[cordova-paramedic] 01/01: fix(ios): remove WKWebView check
This is an automated email from the ASF dual-hosted git repository.
timbru31 pushed a commit to branch fix/ios-wkwebview
in repository https://gitbox.apache.org/repos/asf/cordova-paramedic.git
commit 7b6c7e97eb343c4e323892e6eec79233c0a7addd
Author: Tim Brust <gi...@timbrust.de>
AuthorDate: Tue Sep 1 09:47:35 2020 +0000
fix(ios): remove WKWebView check
this is always true with cordova-ios >=6
---
lib/ParamedicSauceLabs.js | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/lib/ParamedicSauceLabs.js b/lib/ParamedicSauceLabs.js
index 1c29f19..0f48540 100644
--- a/lib/ParamedicSauceLabs.js
+++ b/lib/ParamedicSauceLabs.js
@@ -440,16 +440,7 @@ class ParamedicSauceLabs {
.then((webview) => driver.context(webview));
})
.then(() => {
- let isWkWebview = false;
- const plugins = this.config.getPlugins();
-
- for (let plugin in plugins) {
- if (plugins[plugin].indexOf('wkwebview') >= 0) {
- isWkWebview = true;
- }
- }
-
- if (isWkWebview) {
+ if (this.isIos) {
logger.normal('cordova-paramedic: navigating to a test page');
return driver
.sleep(1000)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org