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