Kind: Class
Source: atloria-monorepo/apps/screenshot-worker/src/app/screenshot/dto/batch-screenshot.dto.ts
Wait condition DTO for page readiness
Supports various wait strategies:
- selector: Wait for element to appear
- timeout: Wait for fixed duration
- networkIdle: Wait for network to be idle
- loadState: Wait for page load state
- function: Wait for JS expression to be truthy
Properties
| Property | Type |
|---|---|
type | WaitType |
selector | string |
duration | number |
state | LoadState |
function | string |
timeout | number |
Was this page helpful?