Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
method Frame.prototype.waitForXPath
import { Frame } from "https://deno.land/x/pptr@1.2.0/src/FrameManager.ts";

Parameters

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

Returns

Promise<ElementHandle | null>