diff --git a/src/test/java/com/gargoylesoftware/htmlunit/WebDriverTestCase.java b/src/test/java/com/gargoylesoftware/htmlunit/WebDriverTestCase.java index 8fa227be351..fbe6fd1bb30 100644 --- a/src/test/java/com/gargoylesoftware/htmlunit/WebDriverTestCase.java +++ b/src/test/java/com/gargoylesoftware/htmlunit/WebDriverTestCase.java @@ -93,6 +93,7 @@ import org.openqa.selenium.edge.EdgeDriverService; import org.openqa.selenium.firefox.FirefoxDriver; import org.openqa.selenium.firefox.FirefoxOptions; +import org.openqa.selenium.firefox.FirefoxProfile; import org.openqa.selenium.htmlunit.HtmlUnitDriver; import org.openqa.selenium.htmlunit.HtmlUnitWebElement; import org.openqa.selenium.ie.InternetExplorerDriver; @@ -583,9 +584,9 @@ private static FirefoxDriver createFirefoxDriver(final String geckodriverBinary, options.setBinary(binary); // at least FF79 is not stable when using a profile - // final FirefoxProfile profile = new FirefoxProfile(); - // profile.setPreference("intl.accept_languages", "en-US"); - // options.setProfile(profile); + final FirefoxProfile profile = new FirefoxProfile(); + profile.setPreference("intl.accept_languages", "en-US"); + options.setProfile(profile); return new FirefoxDriver(options); }