Modifier and Type | Field and Description |
---|---|
Document |
Browser.doc |
Modifier and Type | Method and Description |
---|---|
Document |
Browser.open(File file)
Opens the specified HTML File and creates UserAgent.doc to represent the Document (which is also returned by this method).
|
Document |
Browser.openContent(String html)
Opens the specified HTML content using the utf-8 charset and returns a Document object to represent the content.
|
Document |
Browser.openContent(String contentType,
String charset,
String content)
Opens the specified HTML content using the utf-8 charset and returns a Document object to represent the content.
|
Document |
Form.submit()
Submits the the form without clicking on any particular submit button.
|
Document |
Form.submit(String buttonText)
Submits the the form by clicking the first submit button who's value (ie, text label) matches the specified (case-insensitive) buttonText and throws a NotFound Exception if it does not exist.
|
Document |
Browser.visit(String url)
Directs the UserAgent to visit the specified url; UserAgent.doc is created to represent the retrieved HTML Document (which is also returned by this method).
|