--- sidebar_label: CustomQueryHandler.queryOne --- # CustomQueryHandler.queryOne property **Signature:** ```typescript interface CustomQueryHandler { queryOne?: (element: Element | Document, selector: string) => Element | null; } ```