Navigate

From UBot Studio
Jump to: navigation, search

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.


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.


Nav0ne.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox