From 3183fda907271a60d0d7ad0ac3f17f165c90cc97 Mon Sep 17 00:00:00 2001 From: Dirk Jahnke Date: Thu, 25 Jul 2019 13:05:42 +0200 Subject: [PATCH] Fixed: Syntax error --- src/test/java/BasicTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/BasicTest.java b/src/test/java/BasicTest.java index f51e1c0..461fc58 100644 --- a/src/test/java/BasicTest.java +++ b/src/test/java/BasicTest.java @@ -39,7 +39,7 @@ public class BasicTest { //driver.findElement(By.xpath("//input[@name='doLogin']")).submit(); WebDriverWait waitForLoginDone = new WebDriverWait(browser, 15); //waitForLoginDone.until(ExpectedConditions.ElementIsVisible(By.xpath("//input[@class='menu'][0]")); - waitForLoginDone.until(ExpectedConditions.ElementIsVisible(By.classname("menu")); + waitForLoginDone.until(ExpectedConditions.ElementIsVisible(By.classname("menu"))); driver.switchTo().frame("oben"); String versionInfo = driver.findElement(By.xpath("/table/tr/td/b")).getText(); String userInfo = driver.findElement(By.xpath("/table/tr/td[3]")).getText();