 | HostClearBrowserCookies Method (String, String) |
Deletes all cookies from specified browser.
Warning: Stored passwords or other important information will be deleted.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic void ClearBrowserCookies(
string browserName,
string userProfile
)
Public Sub ClearBrowserCookies (
browserName As String,
userProfile As String
)
Parameters
- browserName
- Type: SystemString
The name of the browser where the cookies should be deleted. Can either be "firefox", "ie" or "chrome". - userProfile
- Type: SystemString
User profile to delete cookies. Only supported for Firefox and Chrome.
See Also