Skip to content

Compose click

Tool compose_click

Description

Click on a UI element. Identify the element using its element ID from the view hierarchy (e.g., ‘e5’), or by text content.

Command Class

xyz.block.trailblaze.compose.driver.tools.ComposeClickTool

Registered ComposeClickTool in ToolRegistry

Optional Parameters

  • elementId: String Element ID from the view hierarchy, e.g., ‘e5’. Preferred method.
  • testTag: String Accessibility identifier of the element to click.
  • text: String The text content of the element to click.
  • element: String Human-readable description of the element being clicked, for logging.

NOTE: THIS IS GENERATED DOCUMENTATION