// DOES NOT WORK
  @Test
  public void descendant() {
    // System.setProperty("webdriver.ie.driver", "F:\\SELENIUM DRIVERS\\IEDriverServer.exe");
    // InternetExplorerDriver driver = new InternetExplorerDriver();

    System.setProperty("webdriver.chrome.driver", "F:\\SELENIUM DRIVERS\\chromedriver.exe");
    ChromeDriver driver = new ChromeDriver();

    driver.get("C:\\Users\\shree\\Desktop\\HTML\\WebTable.HTML");
    driver.manage().window().maximize();
    driver.manage().timeouts().implicitlyWait(3, TimeUnit.SECONDS);

    WebElement td = driver.findElement(By.cssSelector("td[innerText='John']"));
    System.out.println(td.getText());
  }
 private void assertElement(By partialLinkText) {
   WebElement el = driver.findElement(partialLinkText);
   if (el == null) {
     throw new RuntimeException("not found");
   }
 }
 private void moveAndClick(By by) {
   WebElement el = driver.findElement(by);
   actions.moveToElement(el);
   actions.click();
   actions.perform();
 }
 private void moveToElement(By by) {
   actions.moveToElement(driver.findElement(by));
 }