Skip to main content
Version: Next

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