Mouse Over
From UBot Studio
(Difference between revisions)
Line 2: | Line 2: | ||
This command is part of the [[Browser Commands|Browser Command]]. This command will mouse over a specified item on a webpage. | This command is part of the [[Browser Commands|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. | 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 == | == Example == |
Revision as of 19:39, 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.