Hi,
I'm launching chrome browser, I have added selenium-server-standalone-xxxx.jar to my project build path but still i'm getting compilor error "The type org.openqa.selenium.chrome.ChromeDriver is not accessible".
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
public class Selenium_Test {
public static void main(String[] args) throws InterruptedException {
System.out.println("Hello");
System.setProperty("webdriver.chrome.driver", "C:\\Users\\Dell-Latitude-E6430\\Selenium_training\\chromedriver.exe");
WebDriver driver;
driver=new ChromeDriver();
Instructor
Ashish Thakur Replied on 12/06/2019
Please try adding the latest version jar, and share the screenshot of the error if it still persists.
Added version jar, working fine now. Thank you very much.