-2

Whenever I write a WebDriver, it doesn't import the packages as defined. Instead, it ask to create an interface called WebDriver. I'm using the JDK 14 and Eclipse 4.16.0.

package package1;
import org.openqa.selenium.WebDriver;

public class MyClass {
    public static void main(String[] args) {
        WebDriver driver;
    }
}
undetected Selenium
  • 183,867
  • 41
  • 278
  • 352
Saa Sh
  • 1
  • 2
    Seems required JAR didn't add successfully. Try to download valid jar file and then import as mentioned [here](https://www.edureka.co/community/4028/how-to-import-a-jar-file-in-eclipse) or https://stackoverflow.com/a/3280451/5097027 – NarendraR Aug 24 '20 at 11:37

1 Answers1

-1

We are yet to see any official documentation released if the latest version of Selenium supports .

However there are some existing compatibility issues between Selenium and versions other than as follows:


Solution

The strategic solution will be to install the latest version of JDK 8u352 and execute the @Tests

undetected Selenium
  • 183,867
  • 41
  • 278
  • 352