Skip to content

Media Select

Clicks on a media item from a profile’s grid.

  • Detects media items in profile grid
  • Selects item based on mode (random, first, last, index)
  • Opens the selected post
  • Verifies post opened successfully
OptionTypeDescription
Selection ModeSelectrandom, first, last, or index
IndexNumberSpecific item index (0-based, for “index” mode)
Wait AfterNumberSeconds to wait after selection (default: 2.0)
Verify OpenedBooleanConfirm post opened successfully (default: true)
ModeBehavior
randomPicks a random visible media item
firstPicks the first (top-left) item
lastPicks the last visible item
indexPicks specific item by position
  • XML Optimization: Fast detection using screen XML
  • Size Validation: Ignores items smaller than 150x150px
  • Open Verification: Checks for post header and interaction buttons
  • After navigating to a profile
  • Before Like Post or Comment Post
  • For content engagement workflows