1847704789
This PR removes the deprecated query selector API from the `puppeteer` instance. Direct imports of the query selector API have also been deprecated and users are now expected to use the static methods defined on `Puppeteer`.
820 B
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