Import org Openqa Selenium shows compilation error - The package org Openqa Selenium is not accessible even though I have added the external jar files in the classpath.
Hey Junior.milton,
Here’s what you can try.
Either keep only Selenium-server-standalone-3.141.59.jar as an external JAR. Or keep only selenium-java-3.141.59 JARs as an external JARs.
Remove all the other Selenium Java client JARs. Clean your project workspace through your IDE and rebuild your project with required dependencies only.
Take a System Reboot. Execute your @Test.
Additionally, you need to provide the absolute path of the Chromedriver.exe as follows:
System.setProperty(““webdriver.chrome.driver””,““C:\full_path\Driver\chromedriver.exe””);