Enable/Disable Geolocation

wc_geo(wc_obj, enable)

Arguments

wc_obj

a webclient object

enable

if TRUE enable geolocation (which is the HtmlUnit default)

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