Closed vikramvi closed 7 years ago
Implicit wait only applies to finding elements. Once you have an element, checking an attribute on it just calls and returns.
@imurchie Please find some more update on this issue
After trying out solution per https://github.com/appium/appium/issues/7034, I've observed that it's being applied for finding out elements ( I'm not checking attributes of element but just element to do some action on it )
But found new issue https://github.com/appium/java-client/issues/574 can you please have a look and clarify if it's related to java client or server ?
Thanks again
Doing any action on an element does not involve implicit wait. Any problem with waiting for that is a client-side issue.
@imurchie Please close this ticket
@triager please close
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.
The problem
I've set implicit wait for a page as below
I also checked with AppiumDriver but same issue
In this pageobject class, I check for availability of element with method isEnabled()
particularElement.isEnabled()
But instead of waiting for 10 sec, driver just continues execution after 0 sec
Environment
Details
Link to Appium logs
https://gist.github.com/vikramvi/9814a6b6281634a64bb97f2d04ba6101
Code To Reproduce Issue [ Good To Have ]
Refer to code in https://github.com/awslabs/aws-device-farm-appium-tests-for-sample-app/blob/63a8b6f799d034fba39425b9a1f1fbe26eab6b91/src/test/java/Pages/BasePage.java
In my case; I start with app login page goto post login main screen and logout.
Issue is observed when I login and wait for an element to confirm that login is successful.