Skip to content

Change between 1.8.0 and 3.0.0 when using Wait Until Element Is Not Visible. In 3.0.0 element is consider visible if the element does not exist in the DOM. #1008

@aaltat

Description

@aaltat

When I have this:

*** Settings ***
Library           Selenium2Library


*** Test Cases ***
Wait Untill Not Visible
    Open Browser    https://www.google.fi/    Chrome
    Wait Until Page Contains Element     id=lst-ib
    Wait Until Element Is Not Visible    id=foobarNotVisible
    [Teardown]    Close All Browsers

Then wen I run it with 1.8.0 release, then the test passes. But when I run the test with 3.0.0 release the test fails. More details in logs_with_differet_versions.zip. In the 1.8.0 the element is considered as not visible when the element does not exist in the DOM. But there is change in the 3.0.0 release and element is not considered as invisible if the element is not int he DOM.

It would be best consider element invisible also when the element is not in the DOM.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions