implicit_wait not work when an element could not be located on the page
See original GitHub issueThe problem
Running test on android real device with uiautomator2, after init python driver, call /session/:session_id/timeouts/implicit_wait
set wait time for 20000ms, when an element not be find in de page, the endpoint “/element” response immediately not wait 20s.
Environment
- Appium version (or git revision) that exhibits the issue:1.8.1
- Last Appium version that did not exhibit the issue (if applicable):1.7.2
- Desktop OS/version used to run Appium: macOS 10.13.5
- Node.js version (unless using Appium.app|exe):v8.11.2
- Mobile platform/version under test: android/5.1.1
- Real device or emulator/simulator: real device
- Appium CLI or Appium.app|exe:
Details
firstly, call endpoint /timeouts/implicit_wait
set 20000ms,
secondly, call endpoint “/element”,
finally, the element not located on the page, appium not wait for this element for 20s, and raise Encountered internal error
Hope set implicit_wait time work.
Link to Appium logs
Issue Analytics
- State:
- Created 5 years ago
- Comments:11
Top Results From Across the Web
Selenium implicitlyWait Not Working? - Stack Overflow
Implicit Wait and Explicit Waits doesn't work that way, they will maximum wait for element for the time duration specified, If they find...
Read more >How to fix Webdriver wait or implicitly wait deprecated ...
In this video we have shown how to fix below error related to implicitly wait and explicitly wait:“Timeouts org.openqa.selenium.WebDriver.
Read more >5. Waits — Selenium Python Bindings 2 documentation
An implicit wait tells WebDriver to poll the DOM for a certain amount of time when trying to find any element (or elements)...
Read more >Implicit & Explicit wait is not reliable to find the element - Support
I am using the wait condition until the element is clickable.But sometime it is not working.It is saying "Timed out after 30 seconds...
Read more >How To Use Implicit Wait in Selenium Webdriver
By default, Selenium will not wait for an element once the page load completes. It checks for an element on the page then...
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
Hello any update on the above issue? “appium”: {“version”: “1.9.0”,“appium-android-driver”: “3.7.0”} and still appium responds immediately and does not wait.
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.