Class FileInput
Defines a
Implements
IElementWrapper<RemoteWebElement>
Inherited Members
Namespace: Legerity.Web.Elements.Core
Assembly: Legerity.Web.dll
Syntax
public class FileInput : WebElementWrapper, IElementWrapper<RemoteWebElement>
Constructors
| Improve this Doc View SourceFileInput(IWebElement)
Initializes a new instance of the FileInput class.
Declaration
public FileInput(IWebElement element)
Parameters
Type | Name | Description |
---|---|---|
IWebElement | element | The |
FileInput(RemoteWebElement)
Initializes a new instance of the FileInput class.
Declaration
public FileInput(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Properties
| Improve this Doc View SourceFilePath
Gets the file path for the selected file.
Declaration
public virtual string FilePath { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceClearFile()
Clears the selected file.
Declaration
public virtual void ClearFile()
SetAbsoluteFilePath(String)
Sets the selected file by an absolute file path.
Declaration
public virtual void SetAbsoluteFilePath(string filePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath | The file path. |
Operators
| Improve this Doc View SourceImplicit(RemoteWebElement to FileInput)
Allows conversion of a
Declaration
public static implicit operator FileInput(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Returns
Type | Description |
---|---|
FileInput | The FileInput. |