title: How to verify the mouse hover message in Selenium
body: <p>I have tried to print the mouse hover message by using below code:</p>
  
  <pre><code>WebElement element = driver.findElement(By.xpath("/html/body/div/form/div/div/div/div/div[1]/div/div/div"));   
  Actions action = new Actions(driver);
  action.moveToElement(element).build().perform();
  WebElement toolTipElement = driver.findElement(By.xpath("/html/body/div/form/div/div/div/div/div[1]/div/div/div"));
  String toolTipTxt = toolTipElement.getText();
  System.out.println(toolTipTxt);
  </code></pre>
  
  <p>Actual result:</p>
  
  <p>Hovered on the icon, not printing the hover message and it's get skipped to next.</p>