Permalink
Browse files

Changing of selenium close method to avoid memory leaks of firefox

  • Loading branch information...
Dmytry Kashcheiev
Dmytry Kashcheiev committed Jan 21, 2014
1 parent b156c0d commit bbaa07bb325a6cd44f09569cf7eff2cbe086a316
Showing with 1 addition and 1 deletion.
  1. +1 −1 funcTests/source/org/openfaces/test/OpenFacesTestCase.java
@@ -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.