Mouse Over
From UBot Studio
(Difference between revisions)
(→Example) |
|||
Line 18: | Line 18: | ||
mouse over($element offset(<class="sf-with-ul">, 0), "No") | mouse over($element offset(<class="sf-with-ul">, 0), "No") | ||
</pre> | </pre> | ||
+ | |||
[[File:mouseover.png]] | [[File:mouseover.png]] | ||
+ | |||
Running the script will mouse over the element labeled "Forum" to display the additional options. | Running the script will mouse over the element labeled "Forum" to display the additional options. |
Revision as of 19:40, 23 April 2013
This command is part of the Browser Command. This command will mouse over a specified item on a webpage.
It is especially handy on websites with drop down menus that requires to hovering the mouse over and element to show more options.
Element to Mouse Over: Refers to the item that should be moused over.
Clicking the Advanced option on the command expands and reveals another option.
Mouse Over Using Location: Mouses over a selected item by location.
Example
navigate("http://www.sitepoint.com/", "Wait") wait(5) mouse over($element offset(<class="sf-with-ul">, 0), "No")
Running the script will mouse over the element labeled "Forum" to display the additional options.