You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started to use appium-python-client recently to do some Windows testing, so I am using this client locally, sending requests to Appium server running on a Windows machine.
I am facing an issue, implicit waits do not seem to work, because find_element fails with a NoSuchElementError at first try, like this :
[2387d715][WindowsDriver@4825] Proxying [POST /element] to [POST http://127.0.0.1:4724/wd/hub/session/009CBA1D-F495-48BD-A9E4-1BC061681C57/element] with body: {"using":"xpath","value":"//Window[@Name='Panneau de configuration']"}
[2387d715][WindowsDriver@4825] ==========================================
POST /wd/hub/session/009CBA1D-F495-48BD-A9E4-1BC061681C57/element HTTP/1.1
Accept: application/json, */*
Accept-Encoding: gzip, compress, deflate, br
Connection: keep-alive
Content-Length: 70
Content-Type: application/json; charset=utf-8
Host: 127.0.0.1:4724
User-Agent: appium
{"using":"xpath","value":"//Window[@Name='Panneau de configuration']"}
[2387d715][WindowsDriver@4825] HTTP/1.1 404 Not Found
Content-Length: 139
Content-Type: application/json
{"status":7,"value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters."}}
[2387d715][WindowsDriver@4825] Got response with status 404: {"status":7,"value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters."}}
[2387d715][W3C] Matched W3C error code 'no such element' to NoSuchElementError
[2387d715][WindowsDriver@4825] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters.
at errorFromW3CJsonCode (C:\Users\user\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\lib\protocol\errors.js:1110:25)
at ProxyRequestError.getActualError (C:\Users\user\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\lib\protocol\errors.js:979:14)
at WADProxy.command (C:\Users\user\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\lib\jsonwp-proxy\proxy.js:348:19)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at WinAppDriver.sendCommand (C:\Users\user\.appium\node_modules\appium-windows-driver\lib\winappdriver.js:251:12)
at WindowsDriver.findElOrEls (C:\Users\user\.appium\node_modules\appium-windows-driver\lib\commands\find.js:11:10)
at WindowsDriver.findElOrElsWithProcessing (C:\Users\user\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\lib\basedriver\commands\find.ts:60:12)
at WindowsDriver.findElement (C:\Users\user\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\lib\basedriver\commands\find.ts:75:12)
[2387d715][HTTP] <-- POST /session/2387d715-1935-4d79-b88f-9bf9347e28ee/element 404 643 ms - 1459
[2387d715][HTTP] --> DELETE /session/2387d715-1935-4d79-b88f-9bf9347e28ee {}
I was expecting the function find_element to retry until implicit_wait timeout (30s) exceeded, but maybe am I missing something.
The text was updated successfully, but these errors were encountered:
Hello,
I started to use appium-python-client recently to do some Windows testing, so I am using this client locally, sending requests to Appium server running on a Windows machine.
I am facing an issue, implicit waits do not seem to work, because
find_element
fails with a NoSuchElementError at first try, like this :I was expecting the function
find_element
to retry until implicit_wait timeout (30s) exceeded, but maybe am I missing something.The text was updated successfully, but these errors were encountered: