Search Results for

    Show / Hide Table of Contents

    Class InteractionExtensions

    Defines a collection of extensions for performing interactions with elements.

    Inheritance
    System.Object
    InteractionExtensions
    Namespace: Legerity.Extensions
    Assembly: Legerity.Core.dll
    Syntax
    public static class InteractionExtensions : object

    Methods

    | Improve this Doc View Source

    ClickAndHold(RemoteWebElement)

    Clicks and holds on the element.

    Declaration
    public static void ClickAndHold(this RemoteWebElement element)
    Parameters
    Type Name Description
    RemoteWebElement element

    The element to click and hold.

    Remarks

    The element hold can be released by calling ReleaseHold(RemoteWebElement).

    | Improve this Doc View Source

    ClickAndHold<TElement>(IElementWrapper<TElement>)

    Clicks and holds on the element.

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

    The element to click and hold.

    Type Parameters
    Name Description
    TElement

    The type of wrapped .

    Remarks

    The element hold can be released by calling ReleaseHold(RemoteWebElement).

    | Improve this Doc View Source

    ReleaseHold(RemoteWebElement)

    Releases the hold click from the element.

    Declaration
    public static void ReleaseHold(this RemoteWebElement element)
    Parameters
    Type Name Description
    RemoteWebElement element

    The element to release the hold from.

    | Improve this Doc View Source

    ReleaseHold<TElement>(IElementWrapper<TElement>)

    Releases the hold click from the element.

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

    The element to release the hold from.

    Type Parameters
    Name Description
    TElement

    The type of wrapped .

    | Improve this Doc View Source

    ScrollTo(RemoteWebElement)

    Scrolls to the element.

    Declaration
    public static void ScrollTo(this RemoteWebElement element)
    Parameters
    Type Name Description
    RemoteWebElement element

    The element to scroll to.

    | Improve this Doc View Source

    ScrollTo<TElement>(IElementWrapper<TElement>)

    Scrolls to the element.

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

    The element to scroll to.

    Type Parameters
    Name Description
    TElement

    The type of wrapped .

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