Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
method Frame.prototype.click
import { Frame } from "https://deno.land/x/puppeteer@16.2.0/vendor/puppeteer-core/puppeteer/common/Frame.d.ts";

Clicks the first element found that matches selector.

Parameters

selector: string
  • The selector to query for.
optional
options: { delay?: number; button?: MouseButton; clickCount?: number; }

Returns

Promise<void>