How to check if an element is selected in Appium? – pCloudy – Question and Answers
Home >> Appium Tricks and Tricks >> How to check if an element is ...

How to check if an element is selected in Appium?



MobileElement pElement = (MobileElement) driver.findElementByAccessibilityId("Any Access Id");
//Check if element is selected.
boolean isSelected = pElement.isSelected();

Leave a Reply

Your email address will not be published. Required fields are marked *