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

    Methods

    | Improve this Doc View Source

    GetName(IWebElement)

    Retrieves the Name attribute from the specified element.

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

    The to retrieve a Name from.

    Returns
    Type Description
    System.String

    The Name of the element.

    | Improve this Doc View Source

    GetName<TElement>(IElementWrapper<TElement>)

    Retrieves the Name attribute from the specified element.

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

    The IElementWrapper<TElement> to retrieve a Name from.

    Returns
    Type Description
    System.String

    The Name 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