puppeteer/new-docs/puppeteer.frame.__.md
Jack Franklin 24cb6a28ad
chore(docs): document Frame class (#6188)
* chore: document Frame class
2020-07-09 14:22:58 +01:00

27 lines
696 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Frame](./puppeteer.frame.md) &gt; [$$](./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&lt;[ElementHandle](./puppeteer.elementhandle.md)<!-- -->\[\]&gt;
An array of element handles pointing to the found frame elements.