mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
55 lines
2.7 KiB
Markdown
55 lines
2.7 KiB
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [ElementHandle](./puppeteer.elementhandle.md)
|
||
|
|
||
|
## ElementHandle class
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
export declare class ElementHandle extends JSHandle
|
||
|
```
|
||
|
|
||
|
## Constructors
|
||
|
|
||
|
| Constructor | Modifiers | Description |
|
||
|
| --- | --- | --- |
|
||
|
| [(constructor)(context, client, remoteObject, page, frameManager)](./puppeteer.elementhandle._constructor_.md) | | Constructs a new instance of the <code>ElementHandle</code> class |
|
||
|
|
||
|
## Properties
|
||
|
|
||
|
| Property | Modifiers | Type | Description |
|
||
|
| --- | --- | --- | --- |
|
||
|
| [\_frameManager](./puppeteer.elementhandle._framemanager.md) | | [FrameManager](./puppeteer.framemanager.md) | |
|
||
|
| [\_page](./puppeteer.elementhandle._page.md) | | [Page](./puppeteer.page.md) | |
|
||
|
|
||
|
## Methods
|
||
|
|
||
|
| Method | Modifiers | Description |
|
||
|
| --- | --- | --- |
|
||
|
| [\_clickablePoint()](./puppeteer.elementhandle._clickablepoint.md) | | |
|
||
|
| [\_fromProtocolQuad(quad)](./puppeteer.elementhandle._fromprotocolquad.md) | | |
|
||
|
| [\_getBoxModel()](./puppeteer.elementhandle._getboxmodel.md) | | |
|
||
|
| [\_intersectQuadWithViewport(quad, width, height)](./puppeteer.elementhandle._intersectquadwithviewport.md) | | |
|
||
|
| [\_scrollIntoViewIfNeeded()](./puppeteer.elementhandle._scrollintoviewifneeded.md) | | |
|
||
|
| [$(selector)](./puppeteer.elementhandle._.md) | | |
|
||
|
| [$$(selector)](./puppeteer.elementhandle.__.md) | | |
|
||
|
| [$$eval(selector, pageFunction, args)](./puppeteer.elementhandle.__eval.md) | | |
|
||
|
| [$eval(selector, pageFunction, args)](./puppeteer.elementhandle._eval.md) | | |
|
||
|
| [$x(expression)](./puppeteer.elementhandle._x.md) | | |
|
||
|
| [asElement()](./puppeteer.elementhandle.aselement.md) | | |
|
||
|
| [boundingBox()](./puppeteer.elementhandle.boundingbox.md) | | |
|
||
|
| [boxModel()](./puppeteer.elementhandle.boxmodel.md) | | {<!-- -->!Promise<!-- --><<!-- -->?BoxModel<!-- -->><!-- -->} |
|
||
|
| [click(options)](./puppeteer.elementhandle.click.md) | | |
|
||
|
| [contentFrame()](./puppeteer.elementhandle.contentframe.md) | | |
|
||
|
| [focus()](./puppeteer.elementhandle.focus.md) | | |
|
||
|
| [hover()](./puppeteer.elementhandle.hover.md) | | |
|
||
|
| [isIntersectingViewport()](./puppeteer.elementhandle.isintersectingviewport.md) | | |
|
||
|
| [press(key, options)](./puppeteer.elementhandle.press.md) | | |
|
||
|
| [screenshot(options)](./puppeteer.elementhandle.screenshot.md) | | |
|
||
|
| [select(values)](./puppeteer.elementhandle.select.md) | | |
|
||
|
| [tap()](./puppeteer.elementhandle.tap.md) | | |
|
||
|
| [type(text, options)](./puppeteer.elementhandle.type.md) | | |
|
||
|
| [uploadFile(filePaths)](./puppeteer.elementhandle.uploadfile.md) | | |
|
||
|
|