Table of Contents

Class HandleRequestDevicePromptCommandParameters

Namespace
WebDriverBiDi.Bluetooth
Assembly
WebDriverBiDi.dll

Provides parameters for the bluetooth.handleRequestDevicePrompt command.

public class HandleRequestDevicePromptCommandParameters : CommandParameters<HandleRequestDevicePromptCommandResult>
Inheritance
HandleRequestDevicePromptCommandParameters
Derived
Inherited Members

Constructors

HandleRequestDevicePromptCommandParameters(string, string, bool, string?)

Initializes a new instance of the HandleRequestDevicePromptCommandParameters class.

protected HandleRequestDevicePromptCommandParameters(string browsingContextId, string promptId, bool accept, string? deviceId = null)

Parameters

browsingContextId string

The browsing context ID for which to handle the prompt.

promptId string

The ID of the prompt to handle.

accept bool

A value indicating whether to accept the prompt.

deviceId string

The ID of the device for which to accept the prompt, if the prompt is being accepted.

Properties

Accept

Gets a value indicating whether to accept the prompt.

[JsonPropertyName("accept")]
public bool Accept { get; }

Property Value

bool

BrowsingContextId

Gets or sets the ID of the browsing context for which to handle the 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

PromptId

Gets or sets the ID of the prompt to handle.

[JsonPropertyName("prompt")]
public string PromptId { get; set; }

Property Value

string