We create Firefox profile to use custom settings during test execution with Selenium WebDriver. Here we use FirefoxOptions and ProfilesIni class .
Read this post on inviul.com