Class Index | File Index

Classes


Class webdriver.WebDriver.Navigation


Defined in: webdriver.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Interface for navigating back and forth in the browser history.
Method Summary
Method Attributes Method Name and Description
 
back()
Schedules a command to move backwards in the browser history.
 
Schedules a command to move forwards in the browser history.
 
Schedules a command to refresh the current page.
 
to(url)
Schedules a command to navigate to a new URL.
Class Detail
webdriver.WebDriver.Navigation(driver)
Interface for navigating back and forth in the browser history.
Parameters:
{!webdriver.WebDriver} driver
The parent driver.
Method Detail
{!webdriver.promise.Promise} back()
Schedules a command to move backwards in the browser history.
Returns:
{!webdriver.promise.Promise} A promise that will be resolved when the navigation event has completed.

{!webdriver.promise.Promise} forward()
Schedules a command to move forwards in the browser history.
Returns:
{!webdriver.promise.Promise} A promise that will be resolved when the navigation event has completed.

{!webdriver.promise.Promise} refresh()
Schedules a command to refresh the current page.
Returns:
{!webdriver.promise.Promise} A promise that will be resolved when the navigation event has completed.

{!webdriver.promise.Promise} to(url)
Schedules a command to navigate to a new URL.
Parameters:
{string} url
The URL to navigate to.
Returns:
{!webdriver.promise.Promise} A promise that will be resolved when the URL has been loaded.

Documentation generated by JsDoc Toolkit 2.4.0 on Sat Jan 25 2014 14:42:03 GMT-0500 (EST)