puppeteer/docs/api/puppeteer.awaitedlocator.md
jrandolf ede43ca2d3
chore: use RxJS for locator implementation (#10607)
Using RxJS greatly simplifies the control flow for locators and comes with automatic cleanup on failure. It greatly simplifies the `signal` logic and the retry logic.
2023-07-25 12:43:07 +02:00

14 lines
220 B
Markdown

---
sidebar_label: AwaitedLocator
---
# AwaitedLocator type
#### Signature:
```typescript
export type AwaitedLocator<T> = T extends Locator<infer S> ? S : never;
```
**References:** [Locator](./puppeteer.locator.md)