Debugging login
This commit is contained in:
parent
d222590895
commit
117e038b31
|
@ -91,8 +91,8 @@ public class BasicTest {
|
||||||
body = driver.getPageSource();
|
body = driver.getPageSource();
|
||||||
System.out.println("HTML: " + body);
|
System.out.println("HTML: " + body);
|
||||||
|
|
||||||
String versionInfo = driver.findElement(By.xpath("//table[0]/tbody/tr/td/b")).getText();
|
String versionInfo = driver.findElement(By.xpath("//table[1]/tbody/tr/td[1]/b")).getText();
|
||||||
String userInfo = driver.findElement(By.xpath("//table/tr/td[2]")).getText();
|
String userInfo = driver.findElement(By.xpath("//table[1]/tr/td[3]")).getText();
|
||||||
System.out.println("Version info found: " + versionInfo);
|
System.out.println("Version info found: " + versionInfo);
|
||||||
System.out.println("User info found: " + userInfo);
|
System.out.println("User info found: " + userInfo);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue