[Home](./index.md) > [puppeteer](./puppeteer.md) > [JSHandle](./puppeteer.jshandle.md) > [evaluate](./puppeteer.jshandle.evaluate.md) ## JSHandle.evaluate() method Signature: ```typescript evaluate(pageFunction: Function | string, ...args: unknown[]): Promise; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | pageFunction | Function \| string | | | args | unknown\[\] | | Returns: Promise<ReturnType>