puppeteer/new-docs/puppeteer.jshandle.md

42 lines
1.7 KiB
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [JSHandle](./puppeteer.jshandle.md)
## JSHandle class
<b>Signature:</b>
```typescript
export declare class JSHandle
```
## Constructors
| Constructor | Modifiers | Description |
| --- | --- | --- |
| [(constructor)(context, client, remoteObject)](./puppeteer.jshandle._constructor_.md) | | Constructs a new instance of the <code>JSHandle</code> class |
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [\_client](./puppeteer.jshandle._client.md) | | [CDPSession](./puppeteer.cdpsession.md) | |
| [\_context](./puppeteer.jshandle._context.md) | | [ExecutionContext](./puppeteer.executioncontext.md) | |
| [\_disposed](./puppeteer.jshandle._disposed.md) | | boolean | |
| [\_remoteObject](./puppeteer.jshandle._remoteobject.md) | | Protocol.Runtime.RemoteObject | |
## Methods
| Method | Modifiers | Description |
| --- | --- | --- |
| [asElement()](./puppeteer.jshandle.aselement.md) | | |
| [dispose()](./puppeteer.jshandle.dispose.md) | | |
| [evaluate(pageFunction, args)](./puppeteer.jshandle.evaluate.md) | | |
| [evaluateHandle(pageFunction, args)](./puppeteer.jshandle.evaluatehandle.md) | | |
| [executionContext()](./puppeteer.jshandle.executioncontext.md) | | |
| [getProperties()](./puppeteer.jshandle.getproperties.md) | | |
| [getProperty(propertyName)](./puppeteer.jshandle.getproperty.md) | | |
| [jsonValue()](./puppeteer.jshandle.jsonvalue.md) | | |
| [toString()](./puppeteer.jshandle.tostring.md) | | |