public class WebTestUtils extends Object
| Constructor and Description |
|---|
WebTestUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
getPage(org.openqa.selenium.WebDriver driver,
String subPageUrl)
Opens the specified page.
|
static String |
getPageUrl(String subPageUrl)
Gets the full page URL for an URL specified without host and port,
e.g.
|
public static String getPageUrl(String subPageUrl)
web-app/page.jsf. Host name and port will be resolved from the
JU properties, e.g. http://localhost:8080/web-app/page.jsfsubPageUrl - Page URL without host an portpublic static void getPage(org.openqa.selenium.WebDriver driver,
String subPageUrl)
web-app/page.jsf. Host name and port will be resolved from the
JU properties, e.g. http://localhost:8080/web-app/page.jsfdriver - WebDriver to get page forsubPageUrl - Page URLCopyright © 2015. All rights reserved.