title: Selenium 2: Open link in new tab and close tabs
body: <p>I want to be able to open a link in a new tab in Selenium 2. Also i want to close the tab when i am finished interacting with the page. How is this possible if I have a <code>WebElement</code> of an <code>&lt;a&gt;</code> tag?</p>
  
  <p>I am using the Java API of Selenium 2 with the Firefox Driver, running on Firefox 4.</p>