- Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy pathSample1Task.java
More file actions
Latest commit
22 lines (17 loc) · 564 Bytes
/
Copy pathSample1Task.java
File metadata and controls
22 lines (17 loc) · 564 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
packageselenium.sample;
importorg.junit.Test;
importorg.openqa.selenium.WebDriver;
importorg.openqa.selenium.chrome.ChromeDriver;
importjava.io.File;
publicclassSample1Task {
staticStringlibWithDriversLocation = System.getProperty("user.dir") + File.separator + "lib" + File.separator;
@Test
publicvoidgoToHomepage() throwsException {
// TODO:
// define driver
// go to https://kristinek.github.io/site/index2.html
// get title of page
// get URL of current page
// close browser
}
}