Skip to content

element.is_displayed broken in beta? #16503

@tking16

Description

@tking16

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions