Skip to content

Text spanning multiple invisible elements can be matched #58

@koterpillar

Description

@koterpillar

The following step:

Then I should see "A unicorn"

will match on an HTML:

<div>
  <span style="display: none">A</span> <span style="display: none">unicorn</span>
</div>

because even though none of the spans are visible, the outer div is, and it contains the specified text.

Same issue in Aloe Webdriver: aloetesting/aloe_webdriver#13

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions