Skip to content

Compose scroll

Tool compose_scroll

Description

Scroll a scrollable container to bring content into view. Identify the container using its element ID or text. Leave all identifiers empty to scroll the first scrollable container found.

Command Class

xyz.block.trailblaze.compose.driver.tools.ComposeScrollTool

Registered ComposeScrollTool in ToolRegistry

Optional Parameters

  • elementId: String Element ID from the view hierarchy, e.g., ‘e2’.
  • testTag: String Accessibility identifier of the scrollable container.
  • text: String The text content to scroll towards.
  • index: Integer Index to scroll to within the scrollable container. Defaults to 0.

NOTE: THIS IS GENERATED DOCUMENTATION