i have a need to replace the default refresh handler
(ImmediateRefreshHandler) with the one indicated on many webpages
(WaitingRefreshHandler). It's entirely unclear as to how to do
that in the jwebunit context.
i think i need to get a handle on the WebClient object and then
use it to set the new handler:
wc.setRefreshHandler(new WaitingRefreshHandler());
but getting a pointer to the WebClient object seems to be my stumbling
block. i think i can get it from WebWindow, but i don't know how to
get WebWindow:
wc = window.getWebClient();
a pointer to some description on how to do this, or better yet a 2
line block of code on how to do this in the jwebunit context would
be gratefully appreciated.
--
Mark Smith
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
JWebUnit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users