Navigate
Line 21: | Line 21: | ||
Running the command will navigate the main browser to the specified url in the command. | Running the command will navigate the main browser to the specified url in the command. | ||
− | |||
− | |||
− | |||
Line 44: | Line 41: | ||
− | [[File: | + | [[File:nav0ne.png]] |
Latest revision as of 20:51, 13 October 2014
This command navigates the browser to a specified url.
Navigate is a Browser Command.
The command can be used in the In New Browser command.
URL: Where your website url is inserted. The command also accepts variables and functions such as $next list item, $list item, $random list item, $previous list item, and $table cell.
Clicking the Advanced option on the command expands and reveals another option.
Wait for page to load: Determines whether the command should wait for the page to load before to moving on to the next command.
[edit] Example
navigate("google.com", "Wait")
Running the command will navigate the main browser to the specified url in the command.
clear list(%myurls) add list to list(%myurls, $list from text("www.ubotstudio.com/blog,www.ubotstudio.com,www.twitter.com/ubotstudio,https://www.facebook.com/LikeUBot", ","), "Delete", "Global") set list position(%myurls, 0) loop($list total(%myurls)) { navigate($next list item(%myurls), "Wait") wait(3) }
The script above will navigate to each url within the list %myurls. Once each link has been visited, the loop will stop.
Notice that the navigate command is used along with the loop command, the $next list item function, the set list position command, add list to list command, and the $list from text function.