zope.testbrowser icon indicating copy to clipboard operation
zope.testbrowser copied to clipboard

getLink() used to consider the whole enclosed text content, now it only looks at the directly contained text

Open wosc opened this issue 6 years ago • 0 comments

Here's another of those mechanize-to-webtest compatibility issues:

<a href="..."><span>My link</span></a> used to be findable with browser.getLink('My link'), since mechanize collects all nested text, but now it's not found anymore, since zope.testbrowser only looks at the directly contained text.

wosc avatar Jul 15 '19 13:07 wosc