diff --git a/src/test/java/BasicTest.java b/src/test/java/BasicTest.java index b2d638e..16707da 100644 --- a/src/test/java/BasicTest.java +++ b/src/test/java/BasicTest.java @@ -1,7 +1,5 @@ package org.fremo.fredl.test; -import java.util.TimeSpan; -import java.util.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; @@ -24,7 +22,7 @@ public class BasicTest { public void testSetUp() { driver = new HtmlUnitDriver(true); - wait = new WebDriverWait(driver, TimeSpan.FromSeconds(timeoutInSeconds)); + wait = new WebDriverWait(driver, timeoutInSeconds); driver.manage().timeouts().implicitlyWait(implicitTimeoutMilliseconds, TimeUnit.MILLISECONDS); }