TruClient 2.0 - Web browser functions
The following browser functions are available:
Function | Description |
---|---|
Utils.addAutoFilter | Adds a filter to either the denylist or allowlist of URLs. |
Utils.addAutoHeader | Adds an HTTP header to every consecutive HTTP request following this function call. |
Utils.cleanupAutoFilters | Remove all filters from both the denylist and allowlist of URLs. |
Utils.cleanupAutoHeaders | Removes all HTTP headers, and stops adding HTTP headers to every consecutive HTTP request that follows this function call. |
Utils.clearCache | Clears the cache of a single Vuser. |
Utils.clearCookies | Removes all cookies currently stored by the Vuser. |
Utils.removeAutoFilter | Removes a filter from the denylist or allowlist of URLs. |
Utils.removeAutoHeader | Removes an added HTTP header, and stops adding the HTTP header to every consecutive HTTP request. |