title: How to get the web page title from selenium webdriver?
body: <p>Below is the code used for getting the actual title form the Driver opened browser.</p>
  
  <pre><code>public class imsclass1 {
      WebDriver driver;
      String actualTitle;
  
      @Test
      public void test() {
          driver.get("http://www.google.com");
          actualTitle = driver.get actualTitle();
          System.out.println("ActualTitle is +");
      }
  
      @BeforeClass
      public void Beforeclass() {
          driver = new FirefoxDriver();
      }
  
      @AfterClass
      public void Afterclass() {
          driver.quit();
      }
  }
  </code></pre>
  
  <p>Output gets displayed as
   Actual Title is </p>
  
  <p>What I want is "Web page title" displayed in the browser.
  It needs to be get printed in my console. </p>