Class UserPromptHandler
- Namespace
- WebDriverBiDi.Session
- Assembly
- WebDriverBiDi.dll
Describes a set of settings for handling user prompts during test execution.
public class UserPromptHandler
- Inheritance
-
UserPromptHandler
- Inherited Members
Constructors
UserPromptHandler()
public UserPromptHandler()
Properties
Alert
Gets or sets the type of prompt handler for alert user prompts.
[JsonPropertyName("alert")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public UserPromptHandlerType? Alert { get; set; }
Property Value
BeforeUnload
Gets or sets the type of prompt handler for before unload user prompts.
[JsonPropertyName("beforeUnload")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public UserPromptHandlerType? BeforeUnload { get; set; }
Property Value
Confirm
Gets or sets the type of prompt handler for confirm user prompts.
[JsonPropertyName("confirm")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public UserPromptHandlerType? Confirm { get; set; }
Property Value
Default
Gets or sets the type of prompt handler for user prompts for which a handler type has not been explicitly set.
[JsonPropertyName("default")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public UserPromptHandlerType? Default { get; set; }
Property Value
File
Gets or sets the type of prompt handler for file user prompts.
[JsonPropertyName("file")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public UserPromptHandlerType? File { get; set; }
Property Value
Prompt
Gets or sets the type of prompt handler for prompt user prompts.
[JsonPropertyName("prompt")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public UserPromptHandlerType? Prompt { get; set; }