<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [CustomQueryHandler](./puppeteer.customqueryhandler.md) &gt; [queryOne](./puppeteer.customqueryhandler.queryone.md)

## CustomQueryHandler.queryOne property

<b>Signature:</b>

```typescript
queryOne?: (element: Element | Document, selector: string) => Element | null;
```