question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[iOS 13.3] WebView: cant switch to webView (issue returned)

See original GitHub issue

The problem

Appium 1.16.0 (from 3 Feb 2020) cant switch into WebView. In logs we see that RemoteDebugger nicely sees all webViews but responding only Native. Same with Safari - no problem to see webViews.

Environment

  • Appium version (or git revision) that exhibits the issue: Appium 1.16.0 (all commits up to 3 Feb 2020)
  • Last Appium version that did not exhibit the issue (if applicable): Appium 1.16.0 (2 weeks before)
  • Desktop OS/version used to run Appium: MacOS
  • Mobile platform/version under test: iOS
  • Real device or emulator/simulator: Simulator

Link to Appium logs

Appium package
{
'@babel/runtime': '^7.6.0',
'appium-android-driver': '^4.21.0',
'appium-base-driver': '^5.0.0',
'appium-espresso-driver': '^1.18.0',
'appium-fake-driver': '^0.x',
'appium-flutter-driver': '^0',
'appium-ios-driver': '4.x',
'appium-mac-driver': '1.x',
'appium-support': '2.x',
'appium-tizen-driver': '^1.1.1-beta.4',
'appium-uiautomator2-driver': '^1.40.0',
'appium-windows-driver': '1.x',
'appium-xcuitest-driver': '^3.8.0',
'appium-youiengine-driver': '^1.2.0',
argparse: '^1.0.10',
'async-lock': '^1.0.0',
asyncbox: '2.x',
bluebird: '3.x',
'continuation-local-storage': '3.x',
dateformat: '^3.0.3',
'find-root': '^1.1.0',
lodash: '^4.17.11',
longjohn: '^0.2.12',
npmlog: '4.x',
request: '^2.81.0',
'request-promise': '4.x',
semver: '^6.1.2',
'source-map-support': '0.x',
teen_process: '1.x',
winston: '3.x',
'word-wrap': '^1.2.3',
fsevents: '2.x'
}

Logs link

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
imurchiecommented, Feb 4, 2020

Excellent! Glad it worked, and I hope the changes that broke things will let us do some more advanced work on MobileSafari!

0reactions
amedvedjevcommented, Feb 5, 2020

thanks. checked! working.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't switch context to webview - Issues/Bugs - Appium Discuss
I am testing a native app in appium and i'd like to test a part in the app where it redirects into a...
Read more >
Why is WKWebView not opening links with target="_blank"?
My solution is to cancel the navigation and load the request with loadRequest: again. This will be come the similar behavior like UIWebView...
Read more >
WKWebView scrolling issue on iOS 13 - Apple Developer
- Changing to UIWebView fixes the problem. - This is affecting our production app version with was built with Xcode 10.3 as well...
Read more >
Create WebView in App (Swift 5, Xcode 12, 2023) - YouTube
In this video we will learn how to create a web kit webview in your iOS Applications. Perfect for embedding any web content,...
Read more >
Adding WebView to your Flutter app - Google Codelabs
On iOS the WebView widget is backed by a WKWebView, while on Android the WebView widget is ... How to evaluate JavaScript, including...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found