puppeteer/website/versioned_docs/version-19.2.2/api/puppeteer.registercustomqueryhandler.md
2022-11-03 11:02:28 +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