public static interface WebDriver.Navigation
Modifier and Type | Method and 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 page
|
void |
to(java.lang.String url)
Load a new web page in the current browser window.
|
void |
to(java.net.URL url)
Overloaded version of
to(String) that makes it easy to pass in a URL. |
void back()
void forward()
void to(java.lang.String url)
url
- The URL to load. It is best to use a fully qualified URLvoid to(java.net.URL url)
to(String)
that makes it easy to pass in a URL.url
- URLvoid refresh()