ChromeDriver cannot be resolved to a type

284 views
Skip to first unread message

Seema Supriya

unread,
Sep 14, 2023, 4:09:27 AM9/14/23
to ChromeDriver Users
Hi All,
I am getting the Error "Chromedriver cannot be resolved to a type". Here is my error. Please can anyone suggest me what to do.

package co.edureka.selenium.webdriver.sj

import org.openqa.selenium.Webdriver;

import org.openqa.selenium.chrome.ChromeDriver;

public class SeleniumIntroduction

{

public static void main(String[] args)

{

//Invoking browser

System.setProperty("webdriver.chrome.driver", "/Selenium/ChromeDriver.exe");

Webdriver driver = new ChromeDriver();

}


}



Ajoe Alex

unread,
Sep 16, 2023, 5:04:32 AM9/16/23
to ChromeDriver Users
Check this article:
https://automationhub.in/chrome-driver-download-helper/

Hope this helps
Reply all
Reply to author
Forward
0 new messages