Fixed syntax errors
This commit is contained in:
parent
6d4ddbcc00
commit
e3097d1ade
|
@ -49,9 +49,9 @@ 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(titleIs("FreDL"));
|
||||
wait.until(ExpectedCondition.titleIs("FreDL"));
|
||||
//driver.switchTo().frame("oben");
|
||||
WebElement obenFrame = wait.until(frameToBeAvailableAndSwitchToIt("oben"));
|
||||
WebElement obenFrame = wait.until(ExpectedCondition.frameToBeAvailableAndSwitchToIt("oben"));
|
||||
|
||||
String versionInfo = driver.findElement(By.xpath("/table/tr/td/b")).getText();
|
||||
String userInfo = driver.findElement(By.xpath("/table/tr/td[3]")).getText();
|
||||
|
|
Loading…
Reference in New Issue