Appium Server just stops looking for element

Server just stops looking for element during my test. Nothing happens, no error is thrown, it just stops looking for the element and hangs forever. WHAT IS CAUSING THIS?

Output below shows the last commands that were displayed.

happens on appium 1.7.2 -> 1.10.0.
Did not happen yesterday…

[HTTP] --> POST /wd/hub/session/0bad2242-ed03-447d-9f3e-f0c5a0c98fdd/element {“using”:"-android uiautomator",“sessionId”:“0bad2242-ed03-447d-9f3e-f0c5a0c98fdd”,“value”:“new UiSelector().text(“Stop”)”}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["-android uiautomator",“new UiSelector().text(“Stop”)”,“0bad2242-ed03-447d-9f3e-f0c5a0c98fdd”]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8201/wd/hub/session/933cc2ba-5a9a-4c9f-ad13-9a269371232c/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().text(“Stop”)”,“context”:"",“multiple”:false}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“933cc2ba-5a9a-4c9f-ad13-9a269371232c”,“status”:0,“value”:{“ELEMENT”:“10a03a9b-a171-406d-8218-53c408f65106”}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“10a03a9b-a171-406d-8218-53c408f65106”}
[HTTP] <-- POST /wd/hub/session/0bad2242-ed03-447d-9f3e-f0c5a0c98fdd/element 200 30097 ms - 122
[HTTP] --> POST /wd/hub/session/0bad2242-ed03-447d-9f3e-f0c5a0c98fdd/element {“using”:"-android uiautomator",“sessionId”:“0bad2242-ed03-447d-9f3e-f0c5a0c98fdd”,“value”:“new UiSelector().text(“Stop”)”}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["-android uiautomator",“new UiSelector().text(“Stop”)”,“0bad2242-ed03-447d-9f3e-f0c5a0c98fdd”]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8201/wd/hub/session/933cc2ba-5a9a-4c9f-ad13-9a269371232c/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().text(“Stop”)”,“context”:"",“multiple”:false}

1 Like