Locate text on the screen and perform an action.
hover-text
command is used to locate text on the screen based on a description and perform an action on it. This can include hovering, clicking, right-clicking, or double-clicking the text.
Argument | Type | Description |
---|---|---|
text | string | The text to find on the screen. Longer and unique is better. |
description | string | A description of the text and what it represents. The actual text itself shouldn’t be included here. |
action | string | The action to take when the text is found. Available actions are: click , right-click , double-click , hover . |
method | enum | The matching algorithm to use. Possible values are turbo (default) and ai . |
method
for your use case:
turbo
: Faster and more efficient for most scenarios.ai
: More robust for complex or ambiguous text matching.hover-text
command is ideal for interacting with textual elements that can’t be identified using other selectors.