appium: Unable to set URL in native context on iOS real device

The problem

Attempting to open a deep link from a native app context on a real device, per 1.6.5 release notes.

Allow setting url in native context, for opening deep links.

When i call driver.get(deeplink), simctl returns an error saying my UDID is an invalid device. Seems it’s assuming my target device is a simulator.

Environment

  • Appium version (or git revision) that exhibits the issue: 1.6.6-beta.4
  • Last Appium version that did not exhibit the issue (if applicable): N/A
  • Desktop OS/version used to run Appium: Mac Sierra
  • Node.js version (unless using Appium.app|exe): 8.4.0
  • Mobile platform/version under test: iOS 10.3.3
  • Real device or emulator/simulator: real device
  • Appium CLI or Appium.app|exe: CLI

Link to Appium logs

I changed deeplink and udid. They are both valid, just removed them for privacy. https://gist.github.com/jamesvanhorn/a43f9865a688077be1f0affe17b08a2a

Code To Reproduce Issue [ Good To Have ]

driver.get(“some deeplink”);

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 34 (3 by maintainers)

Most upvoted comments

Yes, currently this only supports simulators. Not sure how to do this on real devices, but I’ll add it to our backlog.