docs: private static void addSpecificBrowserSettings(
  			final DesiredCapabilities capabilities, final Builder builder) {
  		if (capabilities.getBrowserName().equalsIgnoreCase(
  				Constants.Browsers.FIREFOX)) {
  			LOG.info("Browser is Firefox. Getting local profile");
  
  			FirefoxProfile profile = null;
  
  			if (builder.profileLocation != null
  					&& !"".equalsIgnoreCase(builder.profileLocation)) {
  				profile = new FirefoxProfile(new File(builder.profileLocation));
  				LOG.info("Firefox profile: " + builder.profileLocation);
  			} else {
  				LOG.info("Loading Firefox default sprofile");
  				ProfilesIni allProfiles = new ProfilesIni();
  				allProfiles.getProfile("default");
  			}
  
  			capabilities.setCapability(FirefoxDriver.PROFILE, profile);
  
  			if (builder.userAgent != null) {
  				profile.setPreference("general.useragent.override",
  						builder.userAgent);
  			}
  
  		} else if (capabilities.getBrowserName().equalsIgnoreCase(
  				Constants.Browsers.CHROME)) {
  			ChromeOptions options = new ChromeOptions();
  			if (builder.userAgent != null) {
  				options.addArguments("user-agent=" + builder.userAgent);
  			}
  			capabilities.setCapability(ChromeOptions.CAPABILITY, options);
  		} else if (capabilities.getBrowserName().equalsIgnoreCase(
  				Constants.Browsers.IE)) {
  			capabilities
  					.setCapability(
  							InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS,
  							builder.flakinessForIe);
  		}
  		LOG.info("Finished adding specific browser settings");
  	}