Skip to main content
Module

x/puppeteer/mod.ts>Frame#focus

A port of puppeteer running on Deno
Latest
method Frame.prototype.focus
Re-export
import { Frame } from "https://deno.land/x/puppeteer@16.2.0/mod.ts";

Focuses the first element that matches the selector.

Parameters

selector: string
  • The selector to query for.

Returns

Promise<void>