commit | author | age | ||
5686c9 | 1 | import org.junit.Test |
JK | 2 | import org.openqa.selenium.WebDriver |
3 | import org.openqa.selenium.htmlunit.HtmlUnitDriver | |
4 | ||
5 | class Config { | |
6 | public static final String baseUrl = "http://127.0.0.1:8080"; | |
7 | ||
8 | public static WebDriver getDriver() { | |
9 | WebDriver driver = new HtmlUnitDriver() | |
10 | driver.setJavascriptEnabled(true) | |
11 | return driver | |
12 | } | |
13 | } |