Could not resolve method name

This commit is contained in:
Dirk Jahnke 2019-07-25 14:02:55 +02:00
parent d4296d1add
commit aff376e5fc
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ public class BasicTest {
wait.until(ExpectedConditions.titleIs(expectedTitle)); wait.until(ExpectedConditions.titleIs(expectedTitle));
//driver.switchTo().frame("oben"); //driver.switchTo().frame("oben");
String frameObenName = "oben"; String frameObenName = "oben";
WebElement obenFrame = wait.until(ExpectedConditions.frameToBeAvailableAndSwitchToIt(frameObenName)); wait.until(ExpectedConditions.frameToBeAvailableAndSwitchToIt(frameObenName));
String versionInfo = driver.findElement(By.xpath("/table/tr/td/b")).getText(); String versionInfo = driver.findElement(By.xpath("/table/tr/td/b")).getText();
String userInfo = driver.findElement(By.xpath("/table/tr/td[3]")).getText(); String userInfo = driver.findElement(By.xpath("/table/tr/td[3]")).getText();