iOS 13: Appium gets timed out at Sending '_rpc_forwardSocketData:'
See original GitHub issueThe problem
On executing the Appium script on a hybrid app. The script is getting stuck and later timed out at
2019-09-21 07:50:39:258 - [HTTP] --> POST /wd/hub/session/2d7e69d4-96a8-4ae1-bc56-e04819ee958c/element
2019-09-21 07:50:39:258 - [HTTP] {"using":"xpath","value":"//span[text()='xxx']"}
2019-09-21 07:50:39:259 - [debug] [W3C (2d7e69d4)] Calling AppiumDriver.findElement() with args: ["xpath","//span[text()='xxx']","2d7e69d4-96a8-4ae1-bc56-e04819ee958c"]
2019-09-21 07:50:39:259 - [debug] [XCUITest] Executing command 'findElement'
2019-09-21 07:50:39:260 - [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id
2019-09-21 07:50:39:260 - [debug] [BaseDriver] Waiting up to 0 ms for condition
2019-09-21 07:50:39:260 - [debug] [RemoteDebugger] Executing atom 'find_element'
2019-09-21 07:50:39:260 - [debug] [RemoteDebugger] Executing 'find_element' atom in default context
2019-09-21 07:50:39:260 - [debug] [RemoteDebugger] Sending javascript command: '(function(){return function(){var k=this;functi...'
2019-09-21 07:50:39:261 - [debug] [RemoteDebugger] Sending '_rpc_forwardSocketData:' message to app 'PID:1169', page '1' (id: 8)
2019-09-21 07:52:39:257 - [HTTP] <-- POST /wd/hub/session/2d7e69d4-96a8-4ae1-bc56-e04819ee958c/element - - ms - -
Environment
- Appium version (or git revision) that exhibits the issue: v1.15.0-beta.1
- Desktop OS/version used to run Appium: 10.14.5
- Node.js version (unless using Appium.app|exe): v10.16.2
- Npm or Yarn package manager: 6.9.0
- Mobile platform/version under test: iOS 13
- Real device or emulator/simulator: iPhone X
- Appium Python Client: 0.47
Details
On trying to perform a simple findElement, the appium gets stuck and does not proceed further. After 300 secs it gets timed out. Switching to the webiew and identifying the webview works fine, but no commands are been executed.
Link to Appium logs
https://gist.github.com/mayureshshirodkar/6705eb5c6d3ef7f50d29ebb704593cbc
Code To Reproduce Issue [ Good To Have ]
element = helper_wait_for_visibility_element(context, xpath, 10)
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Timeouts - Appium
The type of operation to set the timeout for. Valid values are: 'script' for script timeouts, 'implicit' for modifying the implicit wait timeout...
Read more >Appium IOS time out finding the element when API call return ...
i am guessing this issue is because the API return large data set and appium ios driver is taking long time to parse...
Read more >Unable to start session from appium inspector - Issues/Bugs
I am getting error message when I try to start the session in Appium inspector: "Could not connect to server; are you sure...
Read more >Operation timed out while switching to webview context in ...
1, Appium Java client 6.1.0, Selenium version 3.141.59. When driver.context(s); is executed, it throws following exception. io.appium.
Read more >ERROR [BROWSERSTACK_SO_TIMEOUT] Session errored ...
... run 3 scenarios in one feature using appium, wdio in browserstack. ... errored because an Appium command failed to respond and timed...
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
Hi,
I have the same problem with Sending '_rpc_forwardSocketData, so I uninstalled 1.15.0 version and installed v1.16.0-beta.1, but it did not fix the issue. Running of tests is veeery slow because of these timeouts.
The problem:
Environment:
Mobile platform/version under test: iOS 13.2 Real device or emulator/simulator: iPad 2 npm version 6.11.3 CodeceptJS Appium
Code To Reproduce Issue
Closed as fixed