Search Results for

    Show / Hide Table of Contents

    Class Button

    Defines a wrapper for the core iOS Button control.

    Inheritance
    System.Object
    ElementWrapper<IOSElement>
    IOSElementWrapper
    Button
    Implements
    IElementWrapper<IOSElement>
    Inherited Members
    IOSElementWrapper.Driver
    IOSElementWrapper.VerifyDriverElementShown(By, Nullable<TimeSpan>)
    IOSElementWrapper.VerifyDriverElementsShown(By, Nullable<TimeSpan>)
    ElementWrapper<IOSElement>.Element
    ElementWrapper<IOSElement>.ElementDriver
    ElementWrapper<IOSElement>.IsVisible
    ElementWrapper<IOSElement>.IsEnabled
    ElementWrapper<IOSElement>.Click()
    ElementWrapper<IOSElement>.GetAttribute(String)
    ElementWrapper<IOSElement>.FindElement(By)
    ElementWrapper<IOSElement>.VerifyElementNotShown(By)
    ElementWrapper<IOSElement>.VerifyElementShown(By)
    ElementWrapper<IOSElement>.VerifyElementShown(By, Nullable<TimeSpan>)
    ElementWrapper<IOSElement>.VerifyElementsShown(By)
    ElementWrapper<IOSElement>.VerifyElementsShown(By, Nullable<TimeSpan>)
    Namespace: Legerity.IOS.Elements.Core
    Assembly: Legerity.IOS.dll
    Syntax
    public class Button : IOSElementWrapper, IElementWrapper<IOSElement>

    Constructors

    | Improve this Doc View Source

    Button(IOSElement)

    Initializes a new instance of the Button class.

    Declaration
    public Button(IOSElement element)
    Parameters
    Type Name Description
    IOSElement element

    The reference.

    Properties

    | Improve this Doc View Source

    Label

    Gets the button's label content.

    Declaration
    public virtual string Label { get; }
    Property Value
    Type Description
    System.String

    Operators

    | Improve this Doc View Source

    Implicit(AppiumWebElement to Button)

    Allows conversion of a to the Button without direct casting.

    Declaration
    public static implicit operator Button(AppiumWebElement element)
    Parameters
    Type Name Description
    AppiumWebElement element

    The .

    Returns
    Type Description
    Button

    The Button.

    | Improve this Doc View Source

    Implicit(IOSElement to Button)

    Allows conversion of a to the Button without direct casting.

    Declaration
    public static implicit operator Button(IOSElement element)
    Parameters
    Type Name Description
    IOSElement element

    The .

    Returns
    Type Description
    Button

    The Button.

    | Improve this Doc View Source

    Implicit(RemoteWebElement to Button)

    Allows conversion of a to the Button without direct casting.

    Declaration
    public static implicit operator Button(RemoteWebElement element)
    Parameters
    Type Name Description
    RemoteWebElement element

    The .

    Returns
    Type Description
    Button

    The Button.

    Implements

    IElementWrapper<TElement>

    Extension Methods

    IOSElementWrapperExtensions.TryWaitUntil<TElementWrapper, TResult>(TElementWrapper, Func<TElementWrapper, TResult>, Nullable<TimeSpan>, Int32, Action<Exception>)
    IOSElementWrapperExtensions.WaitUntil<TElementWrapper, TResult>(TElementWrapper, Func<TElementWrapper, TResult>, Nullable<TimeSpan>, Int32)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps