Class UserPromptHandlerResult
- Namespace
- WebDriverBiDi.Session
- Assembly
- WebDriverBiDi.dll
Describes a set of settings for handling user prompts during test execution.
public record UserPromptHandlerResult : IEquatable<UserPromptHandlerResult>
- Inheritance
-
UserPromptHandlerResult
- Implements
- Inherited Members
Constructors
UserPromptHandlerResult(UserPromptHandlerResult)
protected UserPromptHandlerResult(UserPromptHandlerResult original)
Parameters
originalUserPromptHandlerResult
Properties
Alert
Gets the type of prompt handler for alert user prompts.
public UserPromptHandlerType? Alert { get; }
Property Value
BeforeUnload
Gets the type of prompt handler for beforeUnload user prompts.
public UserPromptHandlerType? BeforeUnload { get; }
Property Value
Confirm
Gets the type of prompt handler for confirm user prompts.
public UserPromptHandlerType? Confirm { get; }
Property Value
Default
Gets the type of prompt handler for user prompts for which a handler type has not been explicitly set.
public UserPromptHandlerType? Default { get; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
File
Gets the type of prompt handler for file user prompts.
public UserPromptHandlerType? File { get; }
Property Value
Prompt
Gets the type of prompt handler for prompt user prompts.
public UserPromptHandlerType? Prompt { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(UserPromptHandlerResult?)
public virtual bool Equals(UserPromptHandlerResult? other)
Parameters
otherUserPromptHandlerResult
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(UserPromptHandlerResult?, UserPromptHandlerResult?)
public static bool operator ==(UserPromptHandlerResult? left, UserPromptHandlerResult? right)
Parameters
leftUserPromptHandlerResultrightUserPromptHandlerResult
Returns
operator !=(UserPromptHandlerResult?, UserPromptHandlerResult?)
public static bool operator !=(UserPromptHandlerResult? left, UserPromptHandlerResult? right)
Parameters
leftUserPromptHandlerResultrightUserPromptHandlerResult