puppeteer/docs/api/puppeteer.locator.click.md
2023-06-07 12:45:02 +02:00

606 B

sidebar_label
Locator.click

Locator.click() method

Signature:

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

Parameters

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

Returns:

Promise<void>