Propriedade BrowserWindow.AllowPopups

Obtém ou define um valor que determina se a janela do navegador da Web permite janelas pop-up.

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

Sintaxe

'Declaração
Public Shared Property AllowPopups As Boolean
    Get
    Set
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)

Valor de propriedade

Tipo: System.Boolean
true Se a janela do navegador permitir janelas pop-up; Caso contrário, false.

Segurança do .NET Framework

Consulte também

Referência

BrowserWindow Classe

Namespace Microsoft.VisualStudio.TestTools.UITesting