Skip to main content
Version: 20.5.0

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

ParameterTypeDescription
namestring
handlerCustomQueryHandler

Returns:

void