lettuce_webdriver
lettuce_webdriver copied to clipboard
Text spanning multiple invisible elements can be matched
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