puppeteer/docs/api/puppeteer.locator.click.md
2023-06-02 17:46:10 +00:00

597 B

sidebar_label
Locator.click

Locator.click() method

Signature:

class Locator {
  click(
    clickOptions?: ClickOptions & {
      signal?: AbortSignal;
    }
  ): Promise<void>;
}

Parameters

Parameter Type Description
clickOptions ClickOptions & { signal?: AbortSignal; } (Optional)

Returns:

Promise<void>