puppeteer/website/versioned_docs/version-20.7.4/api/puppeteer.locator.hover.md

24 lines
420 B
Markdown
Raw Normal View History

---
sidebar_label: Locator.hover
---
# Locator.hover() method
#### Signature:
```typescript
class Locator {
abstract hover(hoverOptions?: {signal?: AbortSignal}): Promise<void>;
}
```
## Parameters
| Parameter | Type | Description |
| ------------ | ------------------------- | ------------ |
| hoverOptions | { signal?: AbortSignal; } | _(Optional)_ |
**Returns:**
Promise&lt;void&gt;