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.

XCUITest stuck with message : Waiting for WebDriverAgent server to finish loading

See original GitHub issue

The problem

XCUITest stuck with message : Waiting for WebDriverAgent server to finish loading

Environment

  • Appium version (or git revision) that exhibits the issue: 1.6
  • Last Appium version that did not exhibit the issue (if applicable): #1.5.3
  • Desktop OS/version used to run Appium: EL Capita
  • Node.js version (unless using Appium.app|exe): Latest
  • Mobile platform/version under test: 10.0
  • Real device or emulator/simulator: Real
  • Appium CLI or Appium.app|exe: CLI

Details

WebDriverAgent seems to be running fine on the device ( Have checked Xcode build logs ) but after that i am seeing msg Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB and stuck. Nothing happening on the device.

Link to Appium logs

`[debug] [WebDriverAgent] Device: Nov 21 17:36:40 shabreens-iPhone XCTRunner[782] <Notice>: Running tests… [debug] [WebDriverAgent] Device: Nov 21 17:36:41 shabreens-iPhone XCTRunner[782] <Notice>: Continuing to run tests in the background with task ID 1 [XCUITest] Detected that WebDriverAgent is running at url ‘http://10.104.150.75:8100’ [XCUITest] WebDriverAgent started at url ‘http://10.104.150.75:8100’ [debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB [debug] [XCUITest] Waiting for WebDriverAgent server to finish loading… [debug] [XCUITest] Waiting for WebDriverAgent server to finish loading… [debug] [XCUITest] Waiting for WebDriverAgent server to finish loading… [debug] [XCUITest] Waiting for WebDriverAgent server to finish loading… [debug] [XCUITest] Waiting for WebDriverAgent server to finish loading… [debug] [XCUITest] Waiting for WebDriverAgent server to finish loading… [debug] [XCUITest] Waiting for WebDriverAgent server to finish loading… [debug] [XCUITest] Waiting for WebDriverAgent server to finish loading…

Code To Reproduce Issue [ Good To Have ]

Please remember that, with sample code; it’s easier to reproduce bug and much faster to fix it.

Please git clone https://github.com/appium/sample-code and use one of your favourite languages and sample apps to reproduce issue.

In case a similar scenario is missing in sample-code, please submit a PR with one of the sample apps provided.`

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:18 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jlippscommented, Dec 12, 2016

Appium 1.6.3 was just released with several fixes, please give it a try

0reactions
lock[bot]commented, Apr 25, 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
... [XCUITest] Waiting for WebDriverAgent server to finish loading. ... When I run script on iOS 10 device, getting message in console as...
Read more >
Appium Inspector keeps Loading on Mac os - Stack Overflow
1 , compiled my project and suddently appium inspector stopped working being stuck at loading. I had to open a CLI and use...
Read more >
appium-xcuitest-driver - npm
The native testing is based on Apple's XCTest framework and the fork of Facebook's WebDriverAgent server (the original project is not supported ...
Read more >
waiting for unity code in unity editor.coremodule.dll to finish ...
1st, if I try to build, xCode complains with following message … ... [debug] [XCUITest] Waiting for WebDriverAgent server to finish loading.
Read more >
How To Improve Appium Test Speed and Reliability - HeadSpin
Waiting for an application to load data from the network, or finish animations... your app takes time too. And that's kind of the...
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