24 lines
675 B
Markdown
24 lines
675 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [ExecutionContext](./puppeteer.executioncontext.md) > [evaluateHandle](./puppeteer.executioncontext.evaluatehandle.md)
|
||
|
|
||
|
## ExecutionContext.evaluateHandle() method
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
evaluateHandle(pageFunction: Function | string, ...args: unknown[]): Promise<JSHandle>;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| pageFunction | Function \| string | |
|
||
|
| args | unknown\[\] | |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
Promise<[JSHandle](./puppeteer.jshandle.md)<!-- -->>
|
||
|
|