Here's the code

```
WebDriver driver = new FirefoxDriver();
driver = new FirefoxDriver();

```

This opens two firefox windows.
In the @AfterMethod, I am calling

```
driver.quit();

```

In-spite of this, the first browser window does not close. I tried getting the windowhandles but only one window handle is returned. Is there anyway I can close both the broswer windows?