code: def _add_capabilities_from_properties(self, capabilities, section):
          
          cap_type = {'Capabilities': 'server', 'AppiumCapabilities': 'Appium server'}
          try:
              for cap, cap_value in dict(self.config.items(section)).items():
                  self.logger.debug("Added %s capability: %s = %s", cap_type[section], cap, cap_value)
                  capabilities[cap] = cap_value if cap == 'version' else self._convert_property_type(cap_value)
          except NoSectionError:
              pass
docs: Add capabilities from properties file
  
          :param capabilities: capabilities object
          :param section: properties section