Привет, подскажите, как передать FirefoxProfile в FirefoxDriver?
@Override public WebDriver createDriver(DesiredCapabilities desiredCapabilities) {
FirefoxProfile profile = new FirefoxProfile();
profile.setPreference("intl.accept_languages","ar");
return new FirefoxDriver(profile);
}