From: Brad C. <yo...@br...> - 2005-04-26 20:00:50
|
http://htmlunit.sourceforge.net/logging.html http://htmlunit.sourceforge.net/xref/com/gargoylesoftware/htmlunit/html/HtmlPage.html#943 --- Dave Kosenko <dko...@ve...> wrote: > Thanks for the response. > > I understand that onunload would not work from the docs at > sourceforge. However, I am finding that > the onload function is not being called either, or at least not fully. It > is not throwing any exceptions, > so there must be something else going on (or not going on, as the case may > be). Is there any way to > get a trace on what is being done during the getPage() call to see where > things may be failing? > > I can also tell you that accessing the page via several different browsers > does result in the full execution > of the onload code, so it is does not look to be a problem with the > javascript code. > > Might I also ask for a pointer to where in the source the handler for the > onload event is implemented? > > Thanks again, > Dave > > At 03:18 PM 4/26/2005, you wrote: > >What's in your test should be enough--once you have the HtmlPage reference any > >onload code and redirects should have already executed. JS > >methods/properties are > >added as needed one at a time so most likely you've found something we > >have not > >implemented yet (for example, there is nothing special being done for > >onunload so > >that will likely never happen). > > > >Brad C > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Tell us your software development plans! > Take this survey and enter to win a one-year sub to SourceForge.net > Plus IDC's 2005 look-ahead and a copy of this survey > Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > |