Block HtlUnit final rendering blocks until all background JavaScript tasks have finished executing

wc_wait(wc_obj, js_delay = 2000L)

Arguments

wc_obj

a webclient object

js_delay

number of ms to wait/block

Note

The caller does not have to assign the output of this function to a variable as the browser state is managed internally by HtmlUnit.

See also