puppeteer/docs/api/puppeteer.mouse.reset.md
2023-11-09 13:57:33 +01:00

20 lines
260 B
Markdown

---
sidebar_label: Mouse.reset
---
# Mouse.reset() method
Resets the mouse to the default state: No buttons pressed; position at (0,0).
#### Signature:
```typescript
class Mouse {
abstract reset(): Promise<void>;
}
```
**Returns:**
Promise&lt;void&gt;