<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) > [puppeteer](./puppeteer.md) > [CustomQueryHandler](./puppeteer.customqueryhandler.md) > [queryOne](./puppeteer.customqueryhandler.queryone.md) ## CustomQueryHandler.queryOne property <b>Signature:</b> ```typescript queryOne?: (element: Element | Document, selector: string) => Element | null; ```