--- sidebar_label: Page.$$eval_1 --- # Page.$$eval() method **Signature:** ```typescript class Page {$$eval = EvaluateFunc<[ Element[], ...Params ]>>(selector: string, pageFunction: Func | string, ...args: Params): Promise>>;} ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | selector | string | | | pageFunction | Func \| string | | | args | Params | | **Returns:** Promise<Awaited<ReturnType<Func>>>