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.

Appium 1.6.3 Real IOS : Getting stuck on "Waiting for WebDriverAgent to start on device"

See original GitHub issue

@jlipps / @imurchie

The problem

Getting stuck on “Waiting for WebDriverAgent to start on device”. My App and WDA installed. But waited for so long time and My App didn’t get started.

Environment

  • Appium version (or git revision) that exhibits the issue: 1.6.3
  • Last Appium version that did not exhibit the issue (if applicable): 1.6.0
  • Desktop OS/version used to run Appium: Mac El Capitan 10.11.6
  • Node.js version (unless using Appium.app|exe): 6.8.1
  • Mobile platform/version under test: iOS 9.3.2
  • Real device or emulator/simulator: real device
  • Appium CLI or Appium.app|exe: Appium CLI

Details

App is not getting launched with Appium 1.6.3. It used to work with Appium 1.6.0. I have installed 1.6.3 in my Mac El Capitan. since installation, WDA and My App both are installed on device but not getting launched.

Link to Appium logs

https://gist.github.com/shivakrishnach31/f26d630d80924c65a0c7ed8b0788c381

Code To Reproduce Issue [ Good To Have ]

DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("deviceName", "Shiva’s iPhone");
capabilities.setCapability("automationName", "XCUITest");
capabilities.setCapability("browserName","");
capabilities.setCapability("platformName", "iOS");
capabilities.setCapability("platformVersion", "9.3");
File app = new File("<PATH>");
capabilities.setCapability("app", app.getAbsolutePath());
capabilities.setCapability("udid", deviceUDID());
capabilities.setCapability("sendKeyStrategy", "grouped");
capabilities.setCapability("realDeviceLogger", "/usr/local/lib/node_modules/deviceconsole/deviceconsole");
//capabilities.setCapability("xcodeConfigFile", System.getProperty("user.dir")+"/src/com/****/****/utils/ProjectSettings.xcconfig");
		driver = new IOSDriver<MobileElement>(new URL("http://127.0.0.1:4723/wd/hub"),capabilities);

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:14 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
mykola-mokhnachcommented, Jan 5, 2017

@mgehlen Try to update the appium-xcuitest-driver component to the version 2.5.1

0reactions
lock[bot]commented, Jun 21, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Appium-xcuitest-driver: App does not open on real iOS device
May not get a chance until after the weekend is over. I'm stuck on the 'Waiting for WebDriverAgent to start on device' message....
Read more >
Unable to open iOS application using appium 1.6 in real device
Hi all, I've fixed all the error messages found from appium_server.log. Application installs in real iOS device (iPhone 6, iOS 10.0.2) but it...
Read more >
Unable to get WebDriverAgent to work on a real device
I'm trying to get appium to work with iOS 10.0.2 and its been a frustrating ... [XCUITest] Waiting for WebDriverAgent to start on...
Read more >
Appium Master iOS10 (Xcode 8) Discussion - Support
Please help me out. In my case it is getting stuck on [debug] [XCUITest] Waiting for WebDriverAgent server to finish loading…
Read more >
Appium 1.6.3 WebDriverAgent compilation error - Support
I have tried installing appium 1.6.3 that supports iOS 10.1 and xcode 8.1. ... [XCUITest] Waiting for WebDriverAgent to start on device
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