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`.
26 lines
562 B
Markdown
26 lines
562 B
Markdown
---
|
|
sidebar_label: unregisterCustomQueryHandler
|
|
---
|
|
|
|
# unregisterCustomQueryHandler() function
|
|
|
|
> Warning: This API is now obsolete.
|
|
>
|
|
> Import [Puppeteer](./puppeteer.puppeteer.md) and use the static method [Puppeteer.unregisterCustomQueryHandler()](./puppeteer.puppeteer.unregistercustomqueryhandler.md)
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
export declare function unregisterCustomQueryHandler(name: string): void;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --------- | ------ | ----------- |
|
|
| name | string | |
|
|
|
|
**Returns:**
|
|
|
|
void
|