Just a heads up, I think there's been an update to the beta version of 1.2.23 in which calling is_displayed will fail the test. Now all my tests are failing with
AttributeError: type object 'Command' has no attribute 'IS_ELEMENT_DISPLAYED'
self = <appium.webdriver.webelement.WebElement (session="a637a5cd-ef3d-4e52-9062-b3b11f3ec29d", element="68000000-0000-0000-C26B-000000000000")>
def is_displayed(self) -> bool:
"""Whether the element is visible to a user.
Override for Appium
"""
> return self._execute(RemoteCommand.IS_ELEMENT_DISPLAYED)['value']
Hope that helps
Just a heads up, I think there's been an update to the beta version of 1.2.23 in which calling
is_displayedwill fail the test. Now all my tests are failing withAttributeError: type object 'Command' has no attribute 'IS_ELEMENT_DISPLAYED'Hope that helps