puppeteer/new-docs/puppeteer.frame.click.md

714 B

Home > puppeteer > Frame > click

Frame.click() method

Signature:

click(selector: string, options?: {
        delay?: number;
        button?: MouseButtonInput;
        clickCount?: number;
    }): Promise<void>;

Parameters

Parameter Type Description
selector string
options { delay?: number; button?: MouseButtonInput; clickCount?: number; }

Returns:

Promise<void>