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.Android.Extensions
    Assembly: Legerity.Android.dll
    Syntax
    public static class AttributeExtensions : object

    Methods

    | Improve this Doc View Source

    GetCheckedState(IWebElement)

    Gets the value of the Android checked state for this element.

    Declaration
    public static bool GetCheckedState(this IWebElement element)
    Parameters
    Type Name Description
    IWebElement element

    The element to retrieve the value from.

    Returns
    Type Description
    System.Boolean

    True if the element is checked; otherwise, false.

    | Improve this Doc View Source

    GetCheckedState<TElement>(IElementWrapper<TElement>)

    Gets the value of the Android checked state for this element.

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

    The IElementWrapper<TElement> to retrieve the value from.

    Returns
    Type Description
    System.Boolean

    True if the element is checked; otherwise, false.

    Type Parameters
    Name Description
    TElement

    The type of .

    | Improve this Doc View Source

    GetContentDescription(IWebElement)

    Gets the value of the Android content description for this element.

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

    The element to retrieve a content description for.

    Returns
    Type Description
    System.String

    The element's content description.

    | Improve this Doc View Source

    GetContentDescription<TElement>(IElementWrapper<TElement>)

    Gets the value of the Android content description for this element.

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

    The IElementWrapper<TElement> to retrieve a content description for.

    Returns
    Type Description
    System.String

    The element's content description.

    Type Parameters
    Name Description
    TElement

    The type of .

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