Class Button
Defines a
Implements
IElementWrapper<IOSElement>
Inherited Members
Namespace: Legerity.IOS.Elements.Core
Assembly: Legerity.IOS.dll
Syntax
public class Button : IOSElementWrapper, IElementWrapper<IOSElement>
Constructors
| Improve this Doc View SourceButton(IOSElement)
Initializes a new instance of the Button class.
Declaration
public Button(IOSElement element)
Parameters
| Type | Name | Description |
|---|---|---|
| IOSElement | element | The |
Properties
| Improve this Doc View SourceLabel
Gets the button's label content.
Declaration
public virtual string Label { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Operators
| Improve this Doc View SourceImplicit(AppiumWebElement to Button)
Allows conversion of a
Declaration
public static implicit operator Button(AppiumWebElement element)
Parameters
| Type | Name | Description |
|---|---|---|
| AppiumWebElement | element | The |
Returns
| Type | Description |
|---|---|
| Button | The Button. |
Implicit(IOSElement to Button)
Allows conversion of a
Declaration
public static implicit operator Button(IOSElement element)
Parameters
| Type | Name | Description |
|---|---|---|
| IOSElement | element | The |
Returns
| Type | Description |
|---|---|
| Button | The Button. |
Implicit(RemoteWebElement to Button)
Allows conversion of a
Declaration
public static implicit operator Button(RemoteWebElement element)
Parameters
| Type | Name | Description |
|---|---|---|
| RemoteWebElement | element | The |
Returns
| Type | Description |
|---|---|
| Button | The Button. |