Java tutorial
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package limmen.hw4.view; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; public class GoogleSearchTest { public static void main(String... args) { WebDriver driver = new FirefoxDriver(); driver.navigate().to("http://google.com"); String appTitle = driver.getTitle(); System.out.println("Application title is :: " + appTitle); driver.quit(); } }