Resize the virtual browser window

wc_resize(wc_obj, h, w)

Arguments

wc_obj

a webclient object

h, w

height and width (pixels)

Value

the webclient object (invisibly)

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