ClearCache Method (BrowserApplication)

Class

BrowserApplication.

Action

Removes temporary internet files and optionally removes cookies.

Availability

This functionality is supported only if you are using the Open Agent.

Syntax

browserApplication.ClearCache([option])
Variable Description
option Optional: Type 0 to remove all temporary internet files including cookies. Type 1 to remove all temporary internet files excluding cookies. Type 2 to delete all cookies. INTEGER.

Notes

ClearCache() is only supported for Internet Explorer.

Example

WINDOW app = Desktop.Find("./BrowserApplication")
app.ClearCache(1)