In New Browser
From UBot Studio
(Difference between revisions)
(→Example) |
|||
Line 13: | Line 13: | ||
} | } | ||
</pre> | </pre> | ||
+ | |||
+ | |||
Running the script will navigate to bing in the main browser window. A smaller window appears to the right of the main browser, navigate to google, and then searches for a keyword. | Running the script will navigate to bing in the main browser window. A smaller window appears to the right of the main browser, navigate to google, and then searches for a keyword. | ||
+ | |||
+ | |||
[[File:innewbrowser.png]] | [[File:innewbrowser.png]] | ||
+ | |||
+ | |||
To bring the new browser into focus in the main browser, simply click the new browser window. | To bring the new browser into focus in the main browser, simply click the new browser window. | ||
+ | |||
+ | |||
[[File:innewbrowser0.png]] | [[File:innewbrowser0.png]] |
Revision as of 18:28, 24 April 2013
This command is a Flow Command. This command runs all contained commands inside a separate browser in a separate window. These separate browsers will appear as small browsers to the right of the main browser in a vertical column.
Example
navigate("bing.com", "Wait") in new browser { navigate("http://www.google.com/", "Wait") type text(<name="q">, "Stina Nordenstam", "Standard") click(<name="btnK">, "Left Click", "No") pause script }
Running the script will navigate to bing in the main browser window. A smaller window appears to the right of the main browser, navigate to google, and then searches for a keyword.
To bring the new browser into focus in the main browser, simply click the new browser window.