TruClient 2.0 - Web browser functions

The following browser functions are available:

FunctionDescription
Utils.addAutoFilterAdds a filter to either the denylist or allowlist of URLs.
Utils.addAutoHeaderAdds an HTTP header to every consecutive HTTP request following this function call.
Utils.cleanupAutoFiltersRemove all filters from both the denylist and allowlist of URLs.
Utils.cleanupAutoHeadersRemoves all HTTP headers, and stops adding HTTP headers to every consecutive HTTP request that follows this function call.
Utils.clearCacheClears the cache of a single Vuser.
Utils.clearCookiesRemoves all cookies currently stored by the Vuser.
Utils.removeAutoFilterRemoves a filter from the denylist or allowlist of URLs.
Utils.removeAutoHeaderRemoves an added HTTP header, and stops adding the HTTP header to every consecutive HTTP request.