I'm running into an issue when running my test on real device iOs (8.1.1) against appium server 1.3.1/1.3.3, certain elements that are present on a screen (being in focus) are not seen by isDisplayed().

Details: - All elements under test have accessibility labels and the following attributes:enabled: truevisible: falsevalid: true

Elements that are not visible to isDisplayed() during test run-time, are visible in Appium Inspector but not visible when switching Show Invisible OFF) and are found by appium server during runtime (see log below).

Questions: - How exactly does isDisplayed() work in such situation? - What differentiates visibility of elements to isDisplayed() when both: visible and not visible have similar element attributes values? For ex., elements that are visible to isDisplayed() during test runtime have the following attributes:enabled: truevisible: falsevalid: true

Elements that are not visible to isDisplayed() during runtime have the following attributes:enabled: truevisible: falsevalid: true

Appium server log://I'm looking for presence of a button called "Choose"

Not sure if I'll be able to share the app (not released yet), but I'm talking to devs/management right now to see what can be done there. Regarding the loop idea - I've used the waitUntilElementToBeClickable(appPom.getChooseButton()); //which basically waits for the Choose button to be clickable. However, server would fail there since that button would never be returned as a WebElement to the calling method.

@0x1masonI've put a timeout for 10 and 20 sec, and no difference - isDisplayed() still fails to see the element. Once again, the elements I'm trying to get to are not visible by appium's inspector if to switch "Show Invisible" OFF. I just don't understand which attribute "Show Invisible" is relying upon to see the elements as visible.

Out of curiosity, I've performed same test with isEnabled() instead of isDisplayed(), and got a positivie result:

I have an issue with iOS like when need to toggle a button which is not visible on UI .When I try to toggle the button using X-path then element hierarchy is getting changed but the button is not getting toggled , cursor is moving to the buttonI tried with appium(1.3.1,1.3.7) which throws same problemcan anyone help me out on this How can I increase the speed of executing the test-cases because X-path is behaving very slowDo we have any other methods to access elements in iOS. @dmenezes

Classname:table = driver.find_element_by_class_name("UIATableView")self.row = table.findelements_by_class_name("UIATableCell")[index]self._row.click()I tried above one but it throws exception as driver does not support indexes