Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 669 Bytes

puppeteer.elementhandle.__eval.md

File metadata and controls

24 lines (15 loc) · 669 Bytes

Home > puppeteer > ElementHandle > $$eval

ElementHandle.$$eval() method

Signature:

$$eval<ReturnType extends any>(selector: string, pageFunction: Function | string, ...args: unknown[]): Promise<ReturnType>;

Parameters

Parameter Type Description
selector string
pageFunction Function | string
args unknown[]

Returns:

Promise<ReturnType>