Skip to content

ScreenshotActionDto

reference
1 min readUpdated

Kind: Class

Source: atloria-monorepo/apps/screenshot-worker/src/app/screenshot/dto/batch-screenshot.dto.ts

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

PropertyType
typeActionType
selectorstring
selectorHintstring
valuestring
durationnumber
keystring
frameActionFrameAction
optionalboolean
descriptionstring
waitAfternumber

Was this page helpful?

Download as PDF