-
-
Notifications
You must be signed in to change notification settings - Fork 27
Support for isSelected #199
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
Comments
Hey @lohiarahul, the good news is that it is already available with the latest release of [email protected] |
The isSelected() method tries to do a getAttribute("selected") on the UIElement and that throws an error for not being a valid attribute name. But with this version getAttribute("value") seems to work which returns a string representation of the boolean value |
Let me test it on my side but it seems that you are right. |
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. |
Currently there seems to be no Straightforward way to test elements like Switches and Checkboxes.
Could we have an isSelected() for the same?
http://appium.io/docs/en/commands/element/attributes/selected/
The text was updated successfully, but these errors were encountered: