title: The import org.openqa.selenium.chrome cannot be resolved
body: <p>On Eclipse, The error red line was showing below the ChromeDriver statement and Line 18 (WebDriver driver = new ChromeDriver).  Is that code correct?</p>
  <p>Code:</p>
  <pre><code>package firsttestngpackage;
  
  import org.openqa.selenium.*;
  import org.openqa.selenium.chrome.ChromeDriver; 
  //import org.openqa.selenium.firefox.FirefoxDriver;
  import org.testng.Assert;
  import org.testng.annotations.Test;
  
  public class FirstTestNGFile {
      public String baseUrl = &quot;http://demo.guru99.com/test/newtours/&quot;;
      String driverPath= 
      &quot;C:\\Users\\manoj\\Documents\\QA\\COURSE\\ChromeDriver94\\chromedriver.exe&quot;;
      //public WebDriver driver; 
  
  @Test
  public void f() {
     System.out.println(&quot;launching chrome browser&quot;); 
     System.setProperty(&quot;webdriver.chrome.driver&quot;, driverPath);
     WebDriver driver = new ChromeDriver();
     driver.get(baseUrl);
     String expectedTitle = &quot;Welcome: Mercury Tours&quot;;
     String actualTitle = driver.getTitle();
     Assert.assertEquals(actualTitle, expectedTitle);
     driver.close();
    }
  }
  </code></pre>