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 void
back()
Move back a single "item" in the browser's history.void
forward()
Move a single "item" forward in the browser's history.void
refresh()
Refresh the current pagevoid
to(java.lang.String url)
Load a new web page in the current browser window.void
to(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:
back
in interfaceWebDriver.Navigation
-
forward
public void forward()
Move a single "item" forward in the browser's history.- Specified by:
forward
in interfaceWebDriver.Navigation
-
refresh
public void refresh()
Refresh the current page- Specified by:
refresh
in interfaceWebDriver.Navigation
-
to
public void to(java.lang.String url)
Load a new web page in the current browser window.- Specified by:
to
in 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:
to
in interfaceWebDriver.Navigation
-
-