[Zope3-Users] Error in testbrowser documentation
Encolpe Degoute
encolpe.degoute at ingeniweb.com
Wed Nov 21 10:24:18 EST 2007
Hello,
On http://pypi.python.org/pypi/zope.testbrowser you can read:
When a link text matches more than one link, by default the first one is
chosen. You can, however, specify the index of the link and thus
retrieve a later matching link:
>>> browser.getLink('Link Text')
<Link text='Link Text' ...>
>>> browser.getLink('Link Text', index=1)
<Link text='Link Text with Whitespace Normalization (and parens)' ...>
But now the getLink signature is like this:
def getLink(self, text=None, url=None, id=None)
'text' and 'url' parameters can be regular expressions (ie: RegexType =
type(re.compile('')))
Can someone fix this documentation ?
Regards,
--
Encolpe Degoute
INGENIWEB (TM) - S.A.S 50000 Euros - RC B 438 725 632
17 rue Louise Michel - 92300 Levallois Perret - France
web : www.ingeniweb.com - « les Services Web Ingénieux »
Tel : 01.78.15.24.08 / Fax : 01 47 57 39 14
More information about the Zope3-users
mailing list