setPreference()method with the details needed.
FirefoxBinaryclass to tell it where to look.
PATHenvironment variable needs to be set with where the ChromeDriver executable lives. This is so that when we call ChromeDriver with our Java code, it will load the relevant executable and load the browser as quickly as possible.
OperaProfileobject and update the preferences where needed.