title: driver.close() method is not working in Selenium WebDriver on Firefox
body: <p>I am writing a simple program in Eclipse using JUnit annotation.</p>
  
  <p><code>diver.close()</code> is not closing my Firefox browser after the tests. It works fine with Chrome. Code snippet is here.</p>
  
  <pre><code>public class FireFox1 {
      WebDriver driver;
  
      @Before
      public void setUp() {
          driver= new FirefoxDriver();
          driver.get("http://book.theautomatedtester.co.uk/chapter4");
      }
  
      @After
      public void tearDown() {
          driver.close();
      }
  
      @Test
      public void testExamples() {
          WebElement element= driver.findElement(By.id("nextBid"));
          element.sendKeys("100");     
  
      }
  } 
  </code></pre>