driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
TimeUnit is not supported in my version of Java. How to implement the above logic in JDK 1.4 ?
When I am importing TimeUnit like in the statement below it is saying "can't find symbol concurrent". It is happening in the intellij IDE.
import java.util.concurrent.TimeUnit;
As per Wikipedia - Java class file the published numbers are:
Currently you are using ...JDK 1.4...
Solution
As the minimum requirement to compile
org/openqa/selenium/WebDriverclass file is Java 8 you have to upgrade JDK to the minimum support level, preferably at current level of JDK 8u271.