Table of Contents

Class WindowOpenEventArgs

Namespace
OpenQA.Selenium.DevTools.V147.Page
Assembly
Selenium.WebDriver.dll

Fired when a new window is going to be opened, via window.open(), link click, form submission, etc.

public sealed class WindowOpenEventArgs : EventArgs
Inheritance
WindowOpenEventArgs
Inherited Members

Properties

Url

The URL for the new window.

[JsonPropertyName("url")]
public string Url { get; set; }

Property Value

string

UserGesture

Whether or not it was triggered by user gesture.

[JsonPropertyName("userGesture")]
public bool UserGesture { get; set; }

Property Value

bool

WindowFeatures

An array of enabled window features.

[JsonPropertyName("windowFeatures")]
public string[] WindowFeatures { get; set; }

Property Value

string[]

WindowName

Window name.

[JsonPropertyName("windowName")]
public string WindowName { get; set; }

Property Value

string