Partager via


BrowserHelper.AllowPopups Property

Gets or sets a value that indicates whether the browser is to enable pop-up windows.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

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

Property Value

Type: Boolean
true if the browser is to enable pop-up windows; otherwise, false.

.NET Framework Security

See Also

Reference

BrowserHelper Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace