[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.
Signature:
```typescript
$$(selector: string): Promise;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| selector | string | a selector to search for |
Returns:
Promise<[ElementHandle](./puppeteer.elementhandle.md)\[\]>
An array of element handles pointing to the found frame elements.