Skip to content

Commit

Permalink
Changing of selenium close method to avoid memory leaks of firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmytry Kashcheiev committed Jan 21, 2014
1 parent b156c0d commit bbaa07b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion funcTests/source/org/openfaces/test/OpenFacesTestCase.java
Expand Up @@ -286,7 +286,7 @@ protected WebDriver getDriver() {

@AfterClass
public static void closeDriver() {
((WrapsDriver) getSelenium()).getWrappedDriver().close();
((WrapsDriver) getSelenium()).getWrappedDriver().quit();
SeleniumHolder.getInstance().resetSelenium();
}
}

0 comments on commit bbaa07b

Please sign in to comment.