com.meterware.httpunit
public class WebWindow extends Object
WebClient.
| Method Summary | |
|---|---|
| void | close()
Closes this window. |
| WebClient | getClient()
Returns the web client associated with this window. |
| WebResponse | getCurrentPage()
Returns the response representing the main page in this window. |
| WebResponse | getFrameContents(String frameName)
Returns the response associated with the specified frame name.
|
| String[] | getFrameNames()
Returns the name of the currently active frames.
|
| String | getName()
Returns the name of this window. |
| WebResponse | getOpener()
Returns the web response that contained the script which opened this window. |
| WebResponse | getResource(WebRequest request)
Returns the resource specified by the request. |
| WebResponse | getResponse(String urlString)
Submits a GET method request and returns a response. |
| WebResponse | getResponse(WebRequest request)
Submits a web request and returns a response, using all state developed so far as stored in
cookies as requested by the server. |
| boolean | hasFrame(String frameName)
Returns true if the specified frame name is defined in this window. |
| boolean | isClosed()
Returns true if this window has been closed. |
| WebResponse | sendRequest(WebRequest request)
Submits a web request and returns a response. |
Throws: SAXException thrown if there is an error parsing the retrieved page
Throws: SAXException thrown if there is an error parsing the retrieved page