mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
ace31d6f58
Without the API-* dependencies pinned different versions may be installed on local machines vs CI. One of the checks we do is to check that the checked in docs matches what is generated on CI. Therefore we need to ensure devs locally run the exact version that CI runs such that they generate the same output. So in this case we pin to a particular version of the dependencies.
56 lines
2.7 KiB
Markdown
56 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
|
|
```
|
|
<b>Extends:</b> [JSHandle](./puppeteer.jshandle.md)
|
|
|
|
## 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) | | |
|
|
| [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) | | |
|
|
|