lettuce_webdriver icon indicating copy to clipboard operation
lettuce_webdriver copied to clipboard

Text spanning multiple invisible elements can be matched

Open koterpillar opened this issue 9 years ago • 0 comments

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: https://github.com/koterpillar/aloe_webdriver/issues/13

koterpillar avatar Nov 26 '15 00:11 koterpillar