Table of Contents

Class JavascriptDialogClosedEventArgs

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

Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been closed.

public sealed class JavascriptDialogClosedEventArgs : EventArgs
Inheritance
JavascriptDialogClosedEventArgs
Inherited Members

Properties

FrameId

Frame id.

[JsonPropertyName("frameId")]
public string FrameId { get; set; }

Property Value

string

Result

Whether dialog was confirmed.

[JsonPropertyName("result")]
public bool Result { get; set; }

Property Value

bool

UserInput

User input in case of prompt.

[JsonPropertyName("userInput")]
public string UserInput { get; set; }

Property Value

string