diff --git a/src/test/java/BasicTest.java b/src/test/java/BasicTest.java index 2cf5e7a..adea696 100644 --- a/src/test/java/BasicTest.java +++ b/src/test/java/BasicTest.java @@ -32,6 +32,7 @@ public class BasicTest { public void verifyFredlPageTitle() { driver.navigate().to(URL); String getTitle = driver.getTitle(); + System.out.println("Page title: " + getTitle); Assert.assertEquals(getTitle, "FREDL"); } @@ -39,7 +40,7 @@ public class BasicTest { public void verifyLoginAsSystemUser() { driver.navigate().to(URL); System.out.println("Navigate to: " + URL); - String body = driver.page_source; + String body = driver.getPageSource(); System.out.println("HTML: " + body); String scaleInfo = driver.findElement(By.xpath("/table[@class='loginall']/tr/td[0]/div")).getText(); System.out.println("Scale: " + scaleInfo);