Debugging login

This commit is contained in:
Dirk Jahnke 2019-07-25 16:55:03 +02:00
parent 117e038b31
commit 12491e736a
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ public class BasicTest {
System.out.println("HTML: " + body); System.out.println("HTML: " + body);
String versionInfo = driver.findElement(By.xpath("//table[1]/tbody/tr/td[1]/b")).getText(); String versionInfo = driver.findElement(By.xpath("//table[1]/tbody/tr/td[1]/b")).getText();
String userInfo = driver.findElement(By.xpath("//table[1]/tr/td[3]")).getText(); String userInfo = driver.findElement(By.xpath("//table[1]/tbody/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);