refactor: use input API for CDP inputs (#10401)

This commit is contained in:
jrandolf
2023-06-19 10:12:43 +02:00
committed by GitHub
parent 138cc5c961
commit 39847bd231
22 changed files with 209 additions and 524 deletions

View File

@@ -10,15 +10,15 @@ Dispatches a `mousewheel` event.
```typescript
class Mouse {
wheel(options?: MouseWheelOptions): Promise<void>;
wheel(options?: Readonly<MouseWheelOptions>): Promise<void>;
}
```
## Parameters
| Parameter | Type | Description |
| --------- | ----------------------------------------------------- | ------------------------------------------------------ |
| options | [MouseWheelOptions](./puppeteer.mousewheeloptions.md) | _(Optional)_ Optional: <code>MouseWheelOptions</code>. |
| Parameter | Type | Description |
| --------- | --------------------------------------------------------------------- | ------------------------------------------------------ |
| options | Readonly&lt;[MouseWheelOptions](./puppeteer.mousewheeloptions.md)&gt; | _(Optional)_ Optional: <code>MouseWheelOptions</code>. |
**Returns:**