I am wondering if anyone can give me an idea why I\'m getting the following error when I use Selenium-Java 3.5.1 or above -
java.lang.IllegalAccessError: tr
In my earlier pom.xml, this was the entry:
org.seleniumhq.selenium
selenium-java
2.53.0
Below error was being thrown,
Error: java.lang.IllegalAccessError: tried to access method com.google.common.util.concurrent.SimpleTimeLimiter.(Ljava/util/concurrent/ExecutorService;)V from class org.openqa.selenium.net.UrlChecker
Then I updated the POM with the latest version:
org.seleniumhq.selenium
selenium-java
3.14.0
I did not see the error once again. Hope this helps.