user6914996
user6914996

Reputation: 41

the import org.openqa.selenium.webdriver cannot be resolved

enter image description here

I have added these jar files as shown below:

enter image description here

Upvotes: 0

Views: 8497

Answers (2)

Dwarak Varadarajan
Dwarak Varadarajan

Reputation: 22

Either keep only selenium-server-standalone-3.141. jar as an external JAR. Or keep only selenium-java-3.141 Remove all the other Selenium Java Client JARs. Clean your Project Workspace through your IDE and Rebuild your project with required dependencies only.

Upvotes: 0

Optimus
Optimus

Reputation: 11

Try to Clean the project by using Menu -> Project -> Clean Cross check if selenium server jars file are added under Build path -> configure build path -> java build path -> library.

You can also refer - https://www.selenium.dev/docs/site/en/selenium_installation/ Note - seleniumhq.org is now selenium.dev

Upvotes: 1

Related Questions