Skip to main content
testdriver/hover-text.yaml

Description

The 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.

Arguments

Example usage

Gotchas

  • If the text can’t be located, it will internally call the wait-for-text command and wait for the text to appear. The wait timeout is 5 seconds by default, and the command fails if the text is not found.
  • Variations in font size, style, or screen resolution may affect detection accuracy.

Notes

  • The hover-text command is ideal for interacting with textual elements that can’t be identified using other selectors.
  • Supported actions allow flexibility in how the text is interacted with during the test.