webDOMinator - Minion Scripting Language Reference

Search a Command:
<< Back to Browser Level Commands

navigate

Usage...
navigate:url
Makes the browser navigate to the URL specified.
This applies to webDOM version 2.0.0 and above.

User Comments on navigate

Examples on using Navigate

Written by: webDOMinator 2 years and 1 month ago

Here's a simple navigate command and how it's used in a script:

Code

navigate:google.com
dom.input.q.value=webDOM
click:dom.input.btnG

Notice that the script navigates to google.com and then continues by searching for "webDOM"? It's important to note that the navigate command will make webDOM wait till the page has finished loading before continuing with the next line of code.

Here's an example of using a variable with navigate to navigate to the profile of the current User ID:
Code

navigate:http://twitter.com/^wd.curinfo
...

The wd.curinfo variable represents the current User ID in the list. If the twitter plugin was open and a list was loaded with twitter user IDs, it would navigate to the currently selected user ID's profile.

it was said earlier that when navigating, it automatically waits for a page. This is just like performing a Scripting Command Referencepagewait command after a click on a link:
Code

navigate:google.com
dom.input.q.value=webDOM
click:dom.input.btnG
pagewait
...

Navigate automatically waits for the page to load before continuing to the "dom.input.q" line of code just the same as the "pagewait" command under the "click:" line of code waits for the next page to load after that button was clicked.

Post a Comment About the "navigate" Command
Title:
Comment:
Post as Anonymous:
User Login
Username:
Email:
Password:
webDOMinator is copyright ©2008, 2009, 2010, 2011, 2012 Nathaniel D. Gibson. All Rights Reserved.
Contact | Tutorials | Forum
By using webDOMinator you are taking all liability in to your own hands. Nathaniel D. Gibson is not responsible for any damages, loss, or defamation (legal or otherwise) caused to you or your business from using this program. Nathaniel D. Gibson is not associated with, affiliated with, nor responsible for the content submitted and displayed by users of this site.