Hi Dave,
One-line support for the NicelyResynchronizingAjaxController() is in
progress, but in the meantime you can use the code at:
http://sourceforge.net/tracker/?func=detail&aid=2697234&group_id=61302&atid=497985
However, if you are having problems with Javascript on the page executing
before the entire page is loaded, I would recommend putting this script into
an onload="..." handler on the page, since surely browsers would suffer the
same problem.
Jevon
On Fri, Mar 19, 2010 at 5:38 AM, dave smolin <dasmo...@gmail.com> wrote:
> I've also run into some timing problems when testing for dynamically update
> data in a webpage. Sleeping for 1 second or more usually solves this
> problem, but it's ugly. I noticed htmlunit implemented some neat new
> features, namely the
> webClient.setAjaxController(new NicelyResynchronizingAjaxController());
> webClient.waitForBackgroundJavaScript(10000);
> webClient.waitForBackgroundJavaScriptStartingBefore(10000);
>
> calls. Any plans to integrate this support?
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> JWebUnit-users mailing list
> JWebUnit-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jwebunit-users
>
>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
JWebUnit-users mailing list
JWebUnit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-users