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
browsingContextIdstringThe browsing context ID for which to handle the prompt.
promptIdstringThe ID of the prompt to handle.
acceptboolA value indicating whether to accept the prompt.
deviceIdstringThe 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
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
MethodName
Gets the method name of the command.
[JsonIgnore]
public override string MethodName { get; }
Property Value
PromptId
Gets or sets the ID of the prompt to handle.
[JsonPropertyName("prompt")]
public string PromptId { get; set; }