docs(api): expand registerCustomQueryHandler example (#6557)
docs(api): expand registerCustomQueryHandler example (#6557)

This patch makes it easier to see exactly how to use the registerCustomQueryHandler API without having to follow the trail of breadcrumbs throughout the docs.
puppeteer/puppeteer,puppeteer/puppeteer,puppeteer/puppeteer,puppeteer/puppeteer