Table of Contents

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

original UserPromptHandlerResult

Properties

Alert

Gets the type of prompt handler for alert user prompts.

public UserPromptHandlerType? Alert { get; }

Property Value

UserPromptHandlerType?

BeforeUnload

Gets the type of prompt handler for beforeUnload user prompts.

public UserPromptHandlerType? BeforeUnload { get; }

Property Value

UserPromptHandlerType?

Confirm

Gets the type of prompt handler for confirm user prompts.

public UserPromptHandlerType? Confirm { get; }

Property Value

UserPromptHandlerType?

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

UserPromptHandlerType?

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

File

Gets the type of prompt handler for file user prompts.

public UserPromptHandlerType? File { get; }

Property Value

UserPromptHandlerType?

Prompt

Gets the type of prompt handler for prompt user prompts.

public UserPromptHandlerType? Prompt { get; }

Property Value

UserPromptHandlerType?

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(UserPromptHandlerResult?)

public virtual bool Equals(UserPromptHandlerResult? other)

Parameters

other UserPromptHandlerResult

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(UserPromptHandlerResult?, UserPromptHandlerResult?)

public static bool operator ==(UserPromptHandlerResult? left, UserPromptHandlerResult? right)

Parameters

left UserPromptHandlerResult
right UserPromptHandlerResult

Returns

bool

operator !=(UserPromptHandlerResult?, UserPromptHandlerResult?)

public static bool operator !=(UserPromptHandlerResult? left, UserPromptHandlerResult? right)

Parameters

left UserPromptHandlerResult
right UserPromptHandlerResult

Returns

bool