Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wosc opened this issue Jul 15, 2019 · 0 comments
Labels
compat Compatibility issues due to mechanize -> webtest migration in 5.0.0

Comments

@wosc
Copy link
Contributor

wosc commented Jul 15, 2019

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.

@mgedmin mgedmin added the compat Compatibility issues due to mechanize -> webtest migration in 5.0.0 label Jul 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compat Compatibility issues due to mechanize -> webtest migration in 5.0.0
Projects
None yet
Development

No branches or pull requests

2 participants