[Home](./index.md) > [puppeteer](./puppeteer.md) > [ElementHandle](./puppeteer.elementhandle.md) > [$](./puppeteer.elementhandle._.md) ## ElementHandle.$() method Runs `element.querySelector` within the page. If no element matches the selector, the return value resolves to `null`. Signature: ```typescript $(selector: string): Promise; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | selector | string | | Returns: Promise<[ElementHandle](./puppeteer.elementhandle.md) \| null>