puppeteer/website/versioned_docs/version-19.1.0/api/puppeteer.registercustomqueryhandler.md

820 B

sidebar_label
registerCustomQueryHandler

registerCustomQueryHandler() function

Warning: This API is now obsolete.

Import Puppeteer and use the static method Puppeteer.registerCustomQueryHandler()

Signature:

export declare function registerCustomQueryHandler(
  name: string,
  handler: CustomQueryHandler
): void;

Parameters

Parameter Type Description
name string
handler CustomQueryHandler

Returns:

void