puppeteer/docs/api/puppeteer.puppeteer.unregistercustomqueryhandler.md
jrandolf 1847704789
fix!: refactor custom query handler API (#9078)
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`.
2022-10-10 16:01:09 +02:00

26 lines
428 B
Markdown

---
sidebar_label: Puppeteer.unregisterCustomQueryHandler
---
# Puppeteer.unregisterCustomQueryHandler() method
Unregisters a custom query handler for a given name.
**Signature:**
```typescript
class Puppeteer {
static unregisterCustomQueryHandler(name: string): void;
}
```
## Parameters
| Parameter | Type | Description |
| --------- | ------ | ----------- |
| name | string | |
**Returns:**
void