Added debug output on first page

This commit is contained in:
Dirk Jahnke 2019-07-25 14:39:50 +02:00
parent 20e651f9fb
commit 0cf00960ef
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,8 @@ public class BasicTest {
public void verifyLoginAsSystemUser() {
driver.navigate().to(URL);
System.out.println("Navigate to: " + URL);
String body = driver.page_source;
System.out.println("HTML: " + body);
String scaleInfo = driver.findElement(By.xpath("/table[@class='loginall']/tr/td[0]/div")).getText();
System.out.println("Scale: " + scaleInfo);