From 0cf00960efd56f1261e8916ba1b51b324cc21d4b Mon Sep 17 00:00:00 2001 From: Dirk Jahnke Date: Thu, 25 Jul 2019 14:39:50 +0200 Subject: [PATCH] Added debug output on first page --- src/test/java/BasicTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/java/BasicTest.java b/src/test/java/BasicTest.java index fe240a9..2cf5e7a 100644 --- a/src/test/java/BasicTest.java +++ b/src/test/java/BasicTest.java @@ -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);