Search Results for

    Show / Hide Table of Contents

    Class AttributeExtensions

    Defines a collection of extensions for retrieving element attributes.

    Inheritance
    System.Object
    AttributeExtensions
    Namespace: Legerity.IOS.Extensions
    Assembly: Legerity.IOS.dll
    Syntax
    public static class AttributeExtensions : object

    Methods

    | Improve this Doc View Source

    GetLabel(IWebElement)

    Retrieves the label attribute from the specified element.

    Declaration
    public static string GetLabel(this IWebElement element)
    Parameters
    Type Name Description
    IWebElement element

    The to retrieve a label from.

    Returns
    Type Description
    System.String

    The label of the element.

    | Improve this Doc View Source

    GetLabel<TElement>(IElementWrapper<TElement>)

    Retrieves the label attribute from the specified element.

    Declaration
    public static string GetLabel<TElement>(this IElementWrapper<TElement> element)
        where TElement : IWebElement
    Parameters
    Type Name Description
    IElementWrapper<TElement> element

    The IElementWrapper<TElement> to retrieve a label from.

    Returns
    Type Description
    System.String

    The label of the element.

    Type Parameters
    Name Description
    TElement

    The type of .

    | Improve this Doc View Source

    GetValue(IWebElement)

    Retrieves the value attribute from the specified element.

    Declaration
    public static string GetValue(this IWebElement element)
    Parameters
    Type Name Description
    IWebElement element

    The to retrieve a value from.

    Returns
    Type Description
    System.String

    The value of the element.

    | Improve this Doc View Source

    GetValue<TElement>(IElementWrapper<TElement>)

    Retrieves the value attribute from the specified element.

    Declaration
    public static string GetValue<TElement>(this IElementWrapper<TElement> element)
        where TElement : IWebElement
    Parameters
    Type Name Description
    IElementWrapper<TElement> element

    The IElementWrapper<TElement> to retrieve a value from.

    Returns
    Type Description
    System.String

    The value of the element.

    Type Parameters
    Name Description
    TElement

    The type of .

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps