puppeteer/website/versioned_docs/version-22.8.1/api/puppeteer.mouse.reset.md

20 lines
260 B
Markdown
Raw Normal View History

---
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;