Debugging login

This commit is contained in:
Dirk Jahnke 2019-07-25 16:33:46 +02:00
parent f523bba2f9
commit 33b524adbe
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ public class BasicTest {
WebElement loginButton = wait.until(ExpectedConditions.elementToBeClickable(By.name("doLogin"))); WebElement loginButton = wait.until(ExpectedConditions.elementToBeClickable(By.name("doLogin")));
// WebElement loginButton = wait.until(ExpectedConditions.visibilityOf(driver.findElement(By.name("doLogin")))); // WebElement loginButton = wait.until(ExpectedConditions.visibilityOf(driver.findElement(By.name("doLogin"))));
String scaleInfo = driver.findElement(By.xpath("/table/tbody/tr/td/div")).getText(); String scaleInfo = driver.findElement(By.xpath("//table/tbody/tr/td/div")).getText();
//String scaleInfo = driver.findElement(By.xpath("/table[@class='loginall']/tbody/tr/td/div")).getText(); //String scaleInfo = driver.findElement(By.xpath("/table[@class='loginall']/tbody/tr/td/div")).getText();
System.out.println("Scale: " + scaleInfo); System.out.println("Scale: " + scaleInfo);