This documentation is archived and is not being maintained.

BrowserWindow.AllowPopups Property

Gets or sets a value that determines whether the Web browser window allows popup windows.

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

public static bool AllowPopups { get; set; }

Property Value

Type: System.Boolean
true if the Web browser window allows pop-up windows; otherwise, false.