Reputation: 5
I installed latest java 13.0 and latest Selenium version, got error "org.openqa.selenium.webdriver is not accessible" so changed the compliance level to 1.8 from 13.
I'm getting the error shown in the picture:
Upvotes: 0
Views: 5484
Reputation: 193108
This error message...
org.openqa.selenium.webdriver is not accessible
...implies that the org.openqa.selenium.webdriver was not accessible by your program.
As per the snapshot you shared, you shouldn't keep the class name with in the program as Java as it is a reserved word.
You need to take either of the following steps:
testJava
testJava
Does Selenium v3.141 support Java 13?
Upvotes: 0