hoverbytext

Hover on an element

Variable
Value
Description

Property

text

text display on the screen

Parameter

empty

The text is used to identify the element.

For image or icon, the aria-labelor title can be used to identify the field.

For example, in http://automationpractice.com/index.php we can hover the text below the image :

If we use the action "hoverbytext" with property="Blouse", it will hover the text Blouse :

We can use context keyword to manage duplicated text. For example, if we use the action hoverbytext with Property="Printed Dress|context=$26.00" it will hoover the mouse over Printed Dress in the context of $26.00.

Last updated