com.meterware.httpunit
public class HTMLPage extends ParsedHTML
Nested Class Summary | |
---|---|
class | HTMLPage.Scriptable |
Method Summary | |
---|---|
String | getExternalStyleSheet()
Returns the location of the linked stylesheet in the head
|
String[] | getMetaTagContent(String attribute, String attributeValue)
Retrieves the "content" of the meta tags for a key pair attribute-attributeValue.
|
String | getOnLoadEvent()
Returns the onLoad event script. |
String | getTitle()
Returns the title of the page.
|
void | parse(String text, URL pageURL) |
this can be used like this
getMetaTagContent("name","robots") will return { "index","follow" }
getMetaTagContent("http-equiv","Expires") will return { "now" }