puppeteer/website/versioned_docs/version-19.5.0/api/puppeteer.registercustomqueryhandler.md
2023-01-09 10:58:41 +01:00

821 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