puppeteer/docs/api/puppeteer.locatorevent.md

44 lines
466 B
Markdown
Raw Normal View History

2023-06-02 17:46:10 +00:00
---
2023-09-13 13:47:55 +00:00
sidebar_label: LocatorEvent
2023-06-02 17:46:10 +00:00
---
2023-09-13 13:47:55 +00:00
# LocatorEvent enum
2023-06-02 17:46:10 +00:00
All the events that a locator instance may emit.
#### Signature:
```typescript
2023-09-13 13:47:55 +00:00
export declare enum LocatorEvent
2023-06-02 17:46:10 +00:00
```
## Enumeration Members
<table><thead><tr><th>
Member
</th><th>
Value
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
Action
</td><td>
`"action"`
</td><td>
Emitted every time before the locator performs an action on the located element(s).
</td></tr>
</tbody></table>