HoverAgent"
From Documentation
m (correct highlight (via JWB)) |
|||
Line 8: | Line 8: | ||
− | < | + | <code> HoverAgent</code> mimics a mouse pointer move over or move out a component. You have to query the target component agent first, then call <code> moveOver() </code> or <code> moveOut() </code> |
Latest revision as of 02:55, 18 January 2022
Mouse Over & Mouse Out
HoverAgent
mimics a mouse pointer move over or move out a component. You have to query the target component agent first, then call moveOver()
or moveOut()
desktopAgent.query("button").as(HoverAgent.class).moveOver();
desktopAgent.query("button").as(HoverAgent.class).moveOut();
Supported Components
Sub-class of HtmlBasedComponent | 5, 6 |