New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why are disabled elements seen as not displayed ? #487
Comments
in general for the native components if it's not enabled it's not rendered on the screen. You've found the exception to the rule :) (I also don't know how many other exceptions there are to this) We'll likely need to check if the View is a particular type that could be displayed and then not check the enabled flag. |
http://developer.android.com/reference/android/view/View.html#isEnabled() This doesn't help :( |
Hmm, is there any cases where the enabled attribute is the only attribute deciding the visibility of a view? If not then the check might be redundant. |
I don't think the enabled attribute ever determines the visibility of a view. I also think that the
part on line 100 is unnecessary as it is already checked in the isShown method |
selendroid/selendroid-server/src/main/java/io/selendroid/server/model/AndroidNativeElement.java
Line 94 in 11419e8
Is there a reason to include the enabled attribute in this check? Disabled edit_texts for example will return false but they are clearly "displayed" on the screen.
Thank you.
The text was updated successfully, but these errors were encountered: