mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
20 lines
251 B
Markdown
20 lines
251 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 {
|
||
|
reset(): Promise<void>;
|
||
|
}
|
||
|
```
|
||
|
|
||
|
**Returns:**
|
||
|
|
||
|
Promise<void>
|