appium: XCUITest stuck with message : Waiting for WebDriverAgent server to finish loading
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.`
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 18 (5 by maintainers)
Appium 1.6.3 was just released with several fixes, please give it a try