View.navigate()

Overview

Change the current display browser address. Only valid for Web hosts.

Format

View.navigate(target, newTab);

Parameter Description Type Required
target The target URL to navigate to. May be used to run JavaScript on the page if prefaced with 'javascript:' String Required
newTab Set to true if the target URL should open in a new tab. The session must have multiple tabs enabled. Boolean Optional

Example 1

Copy
/* Change current page to wavelink.com
 */
 
 View.navigate('http://wavelink.com');

Example 2

Copy
/* Call the javascript function updatePageValues() on the page.
 */
 
 View.navigate('javascript:updatePageValues();');

Example 3

Copy
/* Open wavelink.com in a new tab
 */
 
View.navigate('http://wavelink.com', true);