Enable/Disable Do-Not-Track

wc_dnt(wc_obj, enable)

Arguments

wc_obj

a webclient object

enable

if TRUE enable Do-Not-Track support (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