mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
24cb6a28ad
* chore: document Frame class
27 lines
696 B
Markdown
27 lines
696 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Frame](./puppeteer.frame.md) > [$$](./puppeteer.frame.__.md)
|
|
|
|
## Frame.$$() method
|
|
|
|
This runs `document.querySelectorAll` in the frame and returns the result.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
$$(selector: string): Promise<ElementHandle[]>;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| selector | string | a selector to search for |
|
|
|
|
<b>Returns:</b>
|
|
|
|
Promise<[ElementHandle](./puppeteer.elementhandle.md)<!-- -->\[\]>
|
|
|
|
An array of element handles pointing to the found frame elements.
|
|
|