Table of Contents

Class HandleUserPromptCommandParameters

Namespace
WebDriverBiDi.BrowsingContext
Assembly
WebDriverBiDi.dll

Provides parameters for the browsingContext.handleUserPrompt command.

public class HandleUserPromptCommandParameters : CommandParameters<HandleUserPromptCommandResult>
Inheritance
HandleUserPromptCommandParameters
Inherited Members

Constructors

HandleUserPromptCommandParameters(string)

Initializes a new instance of the HandleUserPromptCommandParameters class.

public HandleUserPromptCommandParameters(string browsingContextId)

Parameters

browsingContextId string

The browsing context ID for which to handle the user prompt.

Properties

Accept

Gets or sets a value indicating whether the user prompt should be accepted (if true) or canceled (if false).

[JsonPropertyName("accept")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? Accept { get; set; }

Property Value

bool?

BrowsingContextId

Gets or sets the ID of the browsing context for which to handle the user prompt.

[JsonPropertyName("context")]
public string BrowsingContextId { get; set; }

Property Value

string

MethodName

Gets the method name of the command.

[JsonIgnore]
public override string MethodName { get; }

Property Value

string

UserText

Gets or sets the text sent to the user prompt.

[JsonPropertyName("userText")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? UserText { get; set; }

Property Value

string