| java.lang.Object com.meterware.httpunit.WebWindow
close | public void close()(Code) | | Closes this window.
|
getClient | public WebClient getClient()(Code) | | Returns the web client associated with this window.
|
getCurrentPage | public WebResponse getCurrentPage()(Code) | | Returns the response representing the main page in this window.
|
getFrameContents | public WebResponse getFrameContents(String frameName)(Code) | | Returns the response associated with the specified frame name.
Throws a runtime exception if no matching frame is defined.
|
getFrameContents | WebResponse getFrameContents(FrameSelector targetFrame)(Code) | | Returns the response associated with the specified frame target.
Throws a runtime exception if no matching frame is defined.
|
getFrameNames | public String[] getFrameNames()(Code) | | Returns the name of the currently active frames.
|
getName | public String getName()(Code) | | Returns the name of this window. Windows created through normal HTML or browser commands have empty names,
but JavaScript can set the name. A name may be used as a target for a request.
|
getOpener | public WebResponse getOpener()(Code) | | Returns the web response that contained the script which opened this window.
|
getResource | public WebResponse getResource(WebRequest request) throws IOException(Code) | | Returns the resource specified by the request. Does not update the window or load included framesets.
May return null if the resource is a JavaScript URL which would normally leave the client unchanged.
|
hasFrame | public boolean hasFrame(String frameName)(Code) | | Returns true if the specified frame name is defined in this window.
|
isClosed | public boolean isClosed()(Code) | | Returns true if this window has been closed.
|
|
|