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.

Remote Debugger can't get the right context for iOS 13 web tests

See original GitHub issue

The problem

When running web tests with Xcode 11 beta 5 and iOS 13, web tests fail.

Environment

  • Appium version (or git revision) that exhibits the issue: 68981b79b6cf904c0188c72e899c70ea1f9d4d3e
  • Last Appium version that did not exhibit the issue (if applicable):
  • Desktop OS/version used to run Appium:
  • Node.js version (unless using Appium.app|exe): v12.5.0
  • Npm or Yarn package manager: npm 6.9.0
  • Mobile platform/version under test: iOS 13
  • Real device or emulator/simulator: iPhone 8 Simulator
  • Appium CLI or Appium.app|exe:

Details

Remote Debugger can’t get the right context for iOS 13 web tests.

Link to Appium logs

https://gist.github.com/sadafyadegari/5faa0c10a48ccc313cc63c2b10c7675e

Code To Reproduce Issue [ Good To Have ]

running iOS web test: runsauce -c local -t web -v 13.0 -d "iPhone 8" -a 1.13.0 appium 68981b79b6cf904c0188c72e899c70ea1f9d4d3e WebDriverAgent 2ea6a8839c15e268459b81cd3be1b8fe98b0bf36 appium-xcuitest-driver c0bcf3d6ce88bf3cff6a75a965c4417f136e7f36

Test fails when com.apple.mobilesafari.plist is not copied at /Library/Developer/CoreSimulator/Devices/<device-ID>/data/Library/Preferences/

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
mykola-mokhnachcommented, Aug 14, 2019

BTW, Apple has changed the path to CoreSimulator folder since Xcode11, check https://github.com/appium/appium-ios-simulator/pull/235

0reactions
dpgrahamcommented, Oct 7, 2019

Yep

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot recognize webview context on iOS 13 #13622 - GitHub
Since my app can be tested on older version of iOS, I can assume that it is either WkWebView or UIWebView. Am I...
Read more >
Not able to "connect via network" for debugging
I am trying to establish a remote connection to an iOS 11 device for debugging. Both devices are on the same Wi-Fi network,...
Read more >
No way to debug iOS issues in web apps from Windows?
Enable web inspector on your iOS device. Take your iOS device and go to Settings > Safari > Advanced and enable Web Inspector....
Read more >
Debug JavaScript in Mobile Safari (iOS) in 8 easy steps
This article will focus on debugging JavaScript code being run in Safari on iOS 6+ devices using the desktop Safari Web Inspector.
Read more >
Troubleshoot remote debugging - Visual Studio (Windows)
Learn how to resolve some of the common issues with remote debugging.
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