puppeteer/website/versioned_docs/version-19.0.0/api/puppeteer.registercustomqueryhandler.md
2022-10-14 14:54:46 +02:00

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