ede43ca2d3
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.
14 lines
220 B
Markdown
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)
|