splinter
splinter copied to clipboard
Find link by partial text does not match with nested element texts
Finding links by partial text has been broken since 0.4.5:
HTML:
<a href="#"><span>Click me</span></a>
Code:
>>> browser.find_link_by_partial_text('Click me')[0].click()
splinter.exceptions.ElementDoesNotExist: no elements could be find with partial text "Click me"
This works still in 0.4.4
This should be fixed by a74fb727935724b3f3211a9d3089a4af77edfca0. See also #230.
@andrewsmedina I can't reproduce this issue, can you?
#992 Added tests which confirm this behaviour isn't occurring anymore.