Testbrowser getControl should also match `title` and maybe `alt` attributes

Bug #259416 reported by Christian Theune
2
Affects Status Importance Assigned to Milestone
Zope 3
Won't Fix
Undecided
Unassigned
zope.testbrowser
Invalid
Wishlist
Unassigned

Bug Description

As the summary says: getControl() should match for title attributes in addition to e.g. labels and values.

This is especially useful if your control is an image like this:

<input type="image" title="Preview"/>

Then I'd expect `browser.getControl('Preview')` to actually match this control.

Tres Seaver (tseaver)
Changed in zope3:
status: New → Won't Fix
Tres Seaver (tseaver)
Changed in zope.testbrowser:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Colin Watson (cjwatson) wrote :

The zope.testbrowser project on Launchpad has been archived at the request of the Zope developers (see https://answers.launchpad.net/launchpad/+question/683589 and https://answers.launchpad.net/launchpad/+question/685285). If this bug is still relevant, please refile it at https://github.com/zopefoundation/zope.testbrowser.

Changed in zope.testbrowser:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.