Could not resolve method name

This commit is contained in:
Dirk Jahnke 2019-07-25 13:52:45 +02:00
parent e3097d1ade
commit fee1edaf33
1 changed files with 4 additions and 2 deletions

View File

@ -49,9 +49,11 @@ public class BasicTest {
//driver.findElement(By.xpath("//input[@name='doLogin']")).submit();
//wait.until(ExpectedConditions.ElementIsVisible(By.xpath("//input[@class='menu'][0]"));
//wait.until(ExpectedConditions.ElementIsVisible(By.className("menu")));
wait.until(ExpectedCondition.titleIs("FreDL"));
String expectedTitle = "FreDL";
wait.until(ExpectedCondition.titleIs(expectedTitle));
//driver.switchTo().frame("oben");
WebElement obenFrame = wait.until(ExpectedCondition.frameToBeAvailableAndSwitchToIt("oben"));
String frameObenName = "oben";
WebElement obenFrame = wait.until(ExpectedCondition.frameToBeAvailableAndSwitchToIt(frameObenName));
String versionInfo = driver.findElement(By.xpath("/table/tr/td/b")).getText();
String userInfo = driver.findElement(By.xpath("/table/tr/td[3]")).getText();