The first thing you’ll want to do with WebDriver is navigate to a page. The normal way to do this is by calling get:
get(java.lang.String url) url - The URL to load. It is always best to use a fully qualified URL
driver.get("http://www.google.com"); which loads a new web page in the current browser window.