Class FileDialogOpenedEventArgs
- Namespace
- WebDriverBiDi.Input
- Assembly
- WebDriverBiDi.dll
Object containing event data for the input.fileDialogOpened event.
public record FileDialogOpenedEventArgs : WebDriverBiDiEventArgs, IEquatable<WebDriverBiDiEventArgs>, IEquatable<FileDialogOpenedEventArgs>
- Inheritance
-
FileDialogOpenedEventArgs
- Implements
- Inherited Members
Constructors
FileDialogOpenedEventArgs()
Initializes a new instance of the FileDialogOpenedEventArgs class.
[JsonConstructor]
public FileDialogOpenedEventArgs()
FileDialogOpenedEventArgs(FileDialogOpenedEventArgs)
protected FileDialogOpenedEventArgs(FileDialogOpenedEventArgs original)
Parameters
originalFileDialogOpenedEventArgs
Properties
BrowsingContextId
Gets the ID of the browsing context for which the file dialog was opened.
[JsonPropertyName("context")]
[JsonRequired]
[JsonInclude]
public string BrowsingContextId { get; }
Property Value
Element
Gets the reference to the element that invoked the file dialog, if present. Call ToSharedReference() on the returned value to obtain a mutable SharedReference for use as an argument to subsequent commands.
[JsonPropertyName("element")]
[JsonInclude]
public SharedReferenceInfo? Element { get; }
Property Value
EqualityContract
protected override Type EqualityContract { get; }
Property Value
IsMultiple
Gets a value indicating whether the file dialog supports multiple file names.
[JsonPropertyName("multiple")]
[JsonRequired]
[JsonInclude]
public bool IsMultiple { get; }
Property Value
UserContextId
Gets the ID of the user context for which the file dialog was opened.
[JsonPropertyName("userContext")]
[JsonInclude]
public string? UserContextId { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(FileDialogOpenedEventArgs?)
public virtual bool Equals(FileDialogOpenedEventArgs? other)
Parameters
Returns
Equals(WebDriverBiDiEventArgs?)
public override sealed bool Equals(WebDriverBiDiEventArgs? other)
Parameters
otherWebDriverBiDiEventArgs
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(FileDialogOpenedEventArgs?, FileDialogOpenedEventArgs?)
public static bool operator ==(FileDialogOpenedEventArgs? left, FileDialogOpenedEventArgs? right)
Parameters
Returns
operator !=(FileDialogOpenedEventArgs?, FileDialogOpenedEventArgs?)
public static bool operator !=(FileDialogOpenedEventArgs? left, FileDialogOpenedEventArgs? right)