# ScreenshotActionDto

**Kind:** Class

**Source:** [`atloria-monorepo/apps/screenshot-worker/src/app/screenshot/dto/batch-screenshot.dto.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/screenshot-worker/src/app/screenshot/dto/batch-screenshot.dto.ts#L57)

Screenshot action DTO for pre-capture interactions

Supports various action types:
- click/dblclick: Click on element (requires selector)
- type/fill: Input text (requires selector and value)
- press: Press keyboard key (requires key)
- wait: Wait for duration or selector
- scroll: Scroll to element or bottom
- hover/focus/blur: Element interactions (require selector)
- select: Select dropdown option (requires selector and value)
- navigate: Navigate to URL (requires value)
- frame: Enter/exit iframe (requires selector and frameAction)

## Properties

| Property | Type |
|---|---|
| `type` | `ActionType` |
| `selector` | `string` |
| `selectorHint` | `string` |
| `value` | `string` |
| `duration` | `number` |
| `key` | `string` |
| `frameAction` | `FrameAction` |
| `optional` | `boolean` |
| `description` | `string` |
| `waitAfter` | `number` |
