public static class PageHelper.Navigation extends Object
Constructor and Description |
---|
Navigation() |
Modifier and Type | Method and Description |
---|---|
static void |
browseBack(org.openqa.selenium.WebDriver driver) |
static void |
browseTo(String relativeUrl,
org.openqa.selenium.WebDriver driver)
Append the given relative URL to
WebPage.BASE_URL
and navigate there. |
static void |
refreshPage(org.openqa.selenium.WebDriver driver) |
public static void refreshPage(org.openqa.selenium.WebDriver driver)
WebDriver.Navigation#refresh()
public static void browseTo(String relativeUrl, org.openqa.selenium.WebDriver driver)
WebPage.BASE_URL
and navigate there.relativeUrl
- e.g. "/article/999"
(a '/' will be prefixed if not present)public static void browseBack(org.openqa.selenium.WebDriver driver)
WebDriver.Navigation#back()
Copyright © 2015. All rights reserved.