From 20e651f9fb79b1967a49b35ba43a23a3e1e8f6b6 Mon Sep 17 00:00:00 2001 From: Dirk Jahnke Date: Thu, 25 Jul 2019 14:33:32 +0200 Subject: [PATCH] Added debug output on first page --- src/test/java/BasicTest.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/test/java/BasicTest.java b/src/test/java/BasicTest.java index 07e4bc0..fe240a9 100644 --- a/src/test/java/BasicTest.java +++ b/src/test/java/BasicTest.java @@ -38,6 +38,10 @@ public class BasicTest { @Test public void verifyLoginAsSystemUser() { driver.navigate().to(URL); + System.out.println("Navigate to: " + URL); + String scaleInfo = driver.findElement(By.xpath("/table[@class='loginall']/tr/td[0]/div")).getText(); + System.out.println("Scale: " + scaleInfo); + // WebElement loginButton = wait.until(ExpectedConditions.elementToBeClickable(By.name("doLogin"))); WebElement loginButton = wait.until(ExpectedConditions.visibilityOf(driver.findElement(By.name("doLogin"))));