In New Browser
From UBot Studio
(Difference between revisions)
(→Example) |
|||
| Line 1: | Line 1: | ||
| − | This command is a [[Flow Commands|Flow Command]]. This command runs all contained commands inside a separate browser in a separate | + | This command is a [[Flow Commands|Flow Command]]. This command runs all contained commands inside a separate browser in a separate window. |
| − | window. These separate browsers will appear as small browsers to the right of the main browser in a vertical column. | + | |
| + | These separate browsers will appear as small browsers to the right of the main browser in a vertical column. | ||
Revision as of 18:29, 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.