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

Parameters

xpath: string
  • the XPath expression to wait for.
optional
options: WaitForSelectorOptions
  • options to configure the visiblity of the element and how long to wait before timing out.

Returns

Promise<ElementHandle | null>