27 lines
717 B
Markdown
27 lines
717 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
|
|
$$<T extends Element = Element>(selector: string): Promise<Array<ElementHandle<T>>>;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| selector | string | a selector to search for |
|
|
|
|
<b>Returns:</b>
|
|
|
|
Promise<Array<[ElementHandle](./puppeteer.elementhandle.md)<T>>>
|
|
|
|
An array of element handles pointing to the found frame elements.
|
|
|