BrowserWindow.ClearCookies Method

Clears the cookies of the Web browser.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Shared Sub ClearCookies
public static void ClearCookies()
public:
static void ClearCookies()
static member ClearCookies : unit -> unit 
public static function ClearCookies()

.NET Framework Security

See Also

Reference

BrowserWindow Class

Microsoft.VisualStudio.TestTools.UITesting Namespace