Added debug output on first page
This commit is contained in:
parent
20e651f9fb
commit
0cf00960ef
|
@ -39,6 +39,8 @@ public class BasicTest {
|
||||||
public void verifyLoginAsSystemUser() {
|
public void verifyLoginAsSystemUser() {
|
||||||
driver.navigate().to(URL);
|
driver.navigate().to(URL);
|
||||||
System.out.println("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();
|
String scaleInfo = driver.findElement(By.xpath("/table[@class='loginall']/tr/td[0]/div")).getText();
|
||||||
System.out.println("Scale: " + scaleInfo);
|
System.out.println("Scale: " + scaleInfo);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue