Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

WKWebView update for iOS #127

Open
deadlyfingers opened this issue Feb 19, 2016 · 4 comments
Open

WKWebView update for iOS #127

deadlyfingers opened this issue Feb 19, 2016 · 4 comments
Assignees

Comments

@deadlyfingers
Copy link
Contributor

deadlyfingers commented Feb 19, 2016

WKWebView has been updated recently -
https://cordova.apache.org/news/2016/02/09/plugins-release.html

Initial tests with a vanilla Cordova 6 project seem to show it works with Appium. So just have to check reliability with Camera plugin as this was the issue for removing it before.

@deadlyfingers
Copy link
Contributor Author

Parking WKWebView for now - cordova-plugin-wkwebview-engine 1.0.2 has issues with Camera plugin on iPhone 6 Plus that won't fix here. After choosing photo the screen just goes white / blank.
Xcode Log:

Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.
appEnteringBackground wasn't registered

2016-02-23 12:20:45.143 PostCardApp[10203:2988842] Received memory warning.
appEnteredForeground wasn't registered

2016-02-23 12:20:51.557 PostCardApp[10203:2989354] Communications error: <OS_xpc_error: <error: 0x19d738af0> { count = 1, contents =
    "XPCErrorDescription" => <string: 0x19d738e50> { length = 22, contents = "Connection interrupted" }
}>

The bug can be tracked here:
https://issues.apache.org/jira/browse/CB-10339

@scottdixon-zz
Copy link

@deadlyfingers - can you please confirm you're able to automate a WKWebView with Appium? I'm looking into adding WKWebView support to Appium but my preliminary tests show it's already supported.

@deadlyfingers
Copy link
Contributor Author

@scottdixon need to run tests with new Appium 1.5.0 release, but the beta version was detecting the webview with WKWebView

@scottdixon-zz
Copy link

Sweet. It looks like there's an issue with multiple WKWebViews - investigating

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants