code: def _add_chrome_options(self, options, option_name):
          
          options_conf = {'prefs': {'section': 'ChromePreferences', 'message': 'preference'},
                          'mobileEmulation': {'section': 'ChromeMobileEmulation', 'message': 'mobile emulation option'}}
          option_value = dict()
          try:
              for key, value in dict(self.config.items(options_conf[option_name]['section'])).items():
                  self.logger.debug("Added chrome %s: %s = %s", options_conf[option_name]['message'], key, value)
                  option_value[key] = self._convert_property_type(value)
              if len(option_value) > 0:
                  options.add_experimental_option(option_name, option_value)
          except NoSectionError:
              pass
docs: Add Chrome options from properties file
  
          :param options: chrome options object
          :param option_name: chrome option name