Function mouseHover

  • Hover on an element.

    Type Parameters

    • T

    Parameters

    • ctx: Context

      Context object.

    • selector: string

      Selector to hover.

    • fn: (() => Promise<T>)

      Function to be executed after hover.

        • (): Promise<T>
        • Returns Promise<T>

    Returns Promise<T>

    Example

    await mouseHover(ctx, selector, function);
    

Generated using TypeDoc