Class SetFilesCommandParameters
- Namespace
- WebDriverBiDi.Input
- Assembly
- WebDriverBiDi.dll
Provides parameters for the input.setFiles command.
public class SetFilesCommandParameters : CommandParameters<SetFilesCommandResult>
- Inheritance
-
SetFilesCommandParameters
- Inherited Members
Constructors
SetFilesCommandParameters(string, SharedReference)
Initializes a new instance of the SetFilesCommandParameters class.
public SetFilesCommandParameters(string browsingContextId, SharedReference element)
Parameters
browsingContextIdstringThe browsing context ID containing the element for which to set the files.
elementSharedReferenceThe element for which to set the file list. Must be of type {input type="file"}.
Properties
BrowsingContextId
Gets or sets the browsing context ID containing the element for which to set the files.
[JsonPropertyName("context")]
public string BrowsingContextId { get; set; }
Property Value
Element
Gets or sets the element for which to set the file list. Note that the element must be of type {input type="file"}.
[JsonPropertyName("element")]
public SharedReference Element { get; set; }
Property Value
Files
Gets the list of files to be set on the element.
[JsonPropertyName("files")]
public List<string> Files { get; }
Property Value
MethodName
Gets the method name of the command.
[JsonIgnore]
public override string MethodName { get; }