import { Frame } from "https://deno.land/x/pptr@1.2.0/src/FrameManager.ts";
Examples
Example 1
Example 1
const searchValue = await frame.$eval('#search', el => el.value);
Parameters
pageFunction: (element: Element, ...args: unknown[]) => ReturnType | Promise<ReturnType>
- the function to be evaluated in the frame's context
...args: SerializableOrJSHandle[]
- additional arguments to pass to
pageFuncton
Returns
Promise<WrapElementHandle<ReturnType>>