Package com.facilita.fc.selenium
Class Navigation
- java.lang.Object
-
- com.facilita.fc.selenium.Navigation
-
- All Implemented Interfaces:
WebDriver.Navigation
public class Navigation extends java.lang.Object implements WebDriver.Navigation
Provides methods for navigation within a web browser.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidback()Move back a single "item" in the browser's history.voidforward()Move a single "item" forward in the browser's history.voidrefresh()Refresh the current pagevoidto(java.lang.String url)Load a new web page in the current browser window.voidto(java.net.URL url)Overloaded version ofto(String)that makes it easy to pass in a URL.
-
-
-
Method Detail
-
back
public void back()
Move back a single "item" in the browser's history.- Specified by:
backin interfaceWebDriver.Navigation
-
forward
public void forward()
Move a single "item" forward in the browser's history.- Specified by:
forwardin interfaceWebDriver.Navigation
-
refresh
public void refresh()
Refresh the current page- Specified by:
refreshin interfaceWebDriver.Navigation
-
to
public void to(java.lang.String url)
Load a new web page in the current browser window.- Specified by:
toin interfaceWebDriver.Navigation
-
to
public void to(java.net.URL url)
Overloaded version ofto(String)that makes it easy to pass in a URL.- Specified by:
toin interfaceWebDriver.Navigation
-
-