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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.