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)

Syntax

'Declaration
Public Shared Property AllowPopups As Boolean
public static bool AllowPopups { get; set; }
public:
static property bool AllowPopups {
    bool get ();
    void set (bool value);
}
static member AllowPopups : bool with get, set
static function get AllowPopups () : boolean 
static function set AllowPopups (value : boolean)

Property Value

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

.NET Framework Security

See Also

Reference

BrowserWindow Class

Microsoft.VisualStudio.TestTools.UITesting Namespace