diff --git a/src/test/java/BasicTest.java b/src/test/java/BasicTest.java index b1a3484..6dc0e9b 100644 --- a/src/test/java/BasicTest.java +++ b/src/test/java/BasicTest.java @@ -56,6 +56,8 @@ public class BasicTest { @Test public void verifyLoginAsSystemUser() { + String body; // used for debugging purposes only + driver.navigate().to(URL); System.out.println("Navigate to: " + URL); @@ -79,14 +81,14 @@ public class BasicTest { String expectedTitle = "FreDL"; wait.until(ExpectedConditions.titleIs(expectedTitle)); - String body = driver.getPageSource(); + body = driver.getPageSource(); System.out.println("HTML: " + body); //driver.switchTo().frame("oben"); String frameObenName = "oben"; wait.until(ExpectedConditions.frameToBeAvailableAndSwitchToIt(frameObenName)); - String body = driver.getPageSource(); + body = driver.getPageSource(); System.out.println("HTML: " + body); String versionInfo = driver.findElement(By.xpath("//table/tr/td/b")).getText();