Retrieves the text content of a
MockResponse and parses it as HTML.
author: Geert Bevin (gbevin[remove] at uwyn dot com) version: $Revision: 3846 $ since: 1.1
Retrieves the first form in the HTML document with a particular
id attribute.
Parameters: id - the content of the id attribute the first MockForm whose id attributematches; or
Retrieves the first form in the HTML document with a particular
name attribute.
Parameters: name - the content of the name attribute the first MockForm whose name attributematches; or
Retrieves the first link in the HTML document with a particular
id attribute.
Parameters: id - the content of the id attribute the first MockLink whose id attributematches; or
Retrieves the first link in the HTML document that surrounds an
img tag with a certain alt attribute.
Parameters: alt - the content of the alt attribute the first MockLink that has an img tagwhose alt attribute matches; or
Retrieves the first link in the HTML document that surrounds an
img tag with a certain name attribute.
Parameters: name - the content of the name attribute the first MockLink that has an img tagwhose name attribute matches; or
Retrieves the first link in the HTML document with a particular
name attribute.
Parameters: name - the content of the name attribute the first MockLink whose name attributematches; or
Retrieves the first link in the HTML document that surrounds a particular
text.
Parameters: text - the surrounded text the first MockLink whose surrounded text matches; or
Retrieves the value of the attribute of an XML DOM node.
Parameters: node - the node where the attribute should be obtained from Parameters: attributeName - the name of the attribute the value of the attribute; or
Parses the text content of a
MockResponse object as HTML and
returns the result as an instance of ParsedHtml.
Parameters: response - the response whose text content will be parsed the resulting instance of ParsedHtml since: 1.1