[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<Array<[ElementHandle](./puppeteer.elementhandle.md)<T>>> An array of element handles pointing to the found frame elements.