Focus
From UBot Studio
(Difference between revisions)
Line 9: | Line 9: | ||
== Example == | == Example == | ||
− | <pre>focus(< | + | <pre>navigate("http://www.ubotstudio.com/resources", "Wait") |
+ | wait(3) | ||
+ | focus($element offset(<login link>, 1)) | ||
+ | |||
</pre> | </pre> | ||
− | [[File:focus. | + | [[File:focus.gif]] |
Revision as of 11:44, 12 May 2014
This command is part of the Browser Command. Focus changes the browser's focus to a specific element You simply drag this command into the scripting area and choose an element to focus on using one of the selector tools. (See The Selectors for more information)
Element To Focus: The element selected for focusing.
Example
navigate("http://www.ubotstudio.com/resources", "Wait") wait(3) focus($element offset(<login link>, 1))