How to check if any option is enabled in Appium?


//Selecting an element
MobileElement pElement = (MobileElement) driver.findElementByAccessibilityId("SomeAccessibilityID");
//Checking if it(Element) is enabled or not.
boolean isEnabled = pElement.isEnabled();

Leave a Reply

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