Function doubleClick

  • Double clicks on an element with provided selector.

    Parameters

    • ctx: Context

      Puppeteer context object.

    • selector: string

      Selector to double click.

    • Optional options: WaitForSelectorOptions

    Returns Promise<void>

    Example

    await doubleClick(ctx, 'button[id="add-item"]');
    

Generated using TypeDoc