"HOVER_AND_CLICK" Command

Description: This command hovers over an element defined by a locator and then clicks on it.
Usage Scenario: Suppose we want to hover on the Login button in Reference app and then click on it.

Procedure: Define a locator for your button using XPath (//a[contains(text(),'LOGIN')]) and use it in your step. Your step will look like this:

Web Locator:

image-20240527-163610.png

Inline XPath:

image-20240527-163638.png

 

 

Related pages