Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 745 Bytes

puppeteer.page.__eval.md

File metadata and controls

24 lines (15 loc) · 745 Bytes

Home > puppeteer > Page > $$eval

Page.$$eval() method

Signature:

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

Parameters

Parameter Type Description
selector string
pageFunction EvaluateFn | string
args SerializableOrJSHandle[]

Returns:

Promise<ReturnType>