Appium 1.6.3 Real IOS : Getting stuck on "Waiting for WebDriverAgent to start on device"
See original GitHub issueThe 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:
- Created 7 years ago
- Comments:14 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mgehlen Try to update the appium-xcuitest-driver component to the version 2.5.1
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.