Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 98699

I need support to fix below issue in Selenium JAVA java: cannot access org.openqa.selenium.WebDriver

$
0
0
java: cannot access org.openqa.selenium.WebDriver  bad class file: /C:/Users/USER/.m2/repository/org/seleniumhq/selenium/selenium-api/4.19.0/selenium-api-4.19.0.jar!/org/openqa/selenium/WebDriver.class    class file has wrong version 55.0, should be 52.0    Please remove or make sure it appears in the correct subdirectory of the classpath.

I am trying to Open chrome

POM.xml file

<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java --><dependency><groupId>org.seleniumhq.selenium</groupId><artifactId>selenium-java</artifactId><version>4.19.0</version></dependency><!-- https://mvnrepository.com/artifact/org.testng/testng --><dependency><groupId>org.testng</groupId><artifactId>testng</artifactId><version>7.10.2</version><scope>test</scope></dependency><!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-chrome-driver --><dependency><groupId>org.seleniumhq.selenium</groupId><artifactId>selenium-chrome-driver</artifactId><version>4.21.0</version></dependency><!-- https://mvnrepository.com/artifact/io.github.bonigarcia/webdrivermanager --><dependency><groupId>io.github.bonigarcia</groupId><artifactId>webdrivermanager</artifactId><version>5.8.0</version></dependency>

Viewing all articles
Browse latest Browse all 98699

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>