Gets the given property of the element.

        :Args:
            - name - Name of the property to retrieve.

        :Usage:
            ::

                text_length = target_element.get_property("text_length")
195101
def get_property(self, name):
        
        try:
            return self._execute(Command.GET_ELEMENT_PROPERTY, {"name": name})["value"]
        except WebDriverException:
            # if we hit an end point that doesnt understand getElementProperty lets fake it
            return self.parent.execute_script('return arguments[0][arguments[1]]', self, name)
191362
def get_size(cls):
        
        return sum([getattr(cls, name).length
                    for name in cls.get_fields_names()])
1003192
public PropertyData getProperty(String name)
   {
      return properties == null ? null : properties.get(name);
   }
1106946
def get_class_by_name( name )
      raise "get_class_by_name #{name}.#{name.class}" unless name.is_a?(Symbol)
      c = classes[name]
      #puts "MISS, no class #{name} #{name.class}" unless c # " #{classes}"
      #puts "CLAZZ, #{name} #{c.get_type.get_length}" if c
      c
    end
909679
def get(self, name):
        '''
        
        '''
        if name.startswith('#'):
            return self.tags.get(name[1:])
        return self.props.get(name)
311875
private static String getAttribute(String name, Element firstElement, Element secondElement) {
        String val = firstElement.getAttribute(name);
        if (val.length() == 0 && secondElement != null) {
            val = secondElement.getAttribute(name);
        }
        return val;
    }
728415
def get_rank_value(cls, name):
    
    if name in cls._RANK_NAMES.values():
      return getattr(cls, name, None)
    return None
187164
def _get_element_text(self, element):
        
        text = ''
        if element.text is not None:
            text += element.text
        for child in element.getchildren():
            text += self._get_element_text(child)
        if element.tail is not None:
            text += element.tail
        return text
1209886
public String getProperty(String name) {
        BugProperty prop = lookupProperty(name);
        return prop != null ? prop.getValue() : null;
    }
502699
def _get_property(self):
        """"""
        line = self.next_line()
        if line is None:
            return None
        elif line.startswith(b'property '):
            return self._name_value(line[len(b'property '):])
        else:
            self.push_line(line)
            return None
1246434
function getAttribute(element, name) {
  assertType(element, Node, false, 'Invalid element specified');

  if (!element.getAttribute) return null;

  let value = element.getAttribute(name);
  if (value === '') return true;
  if (value === undefined || value === null) return null;
  try {
    return JSON.parse(value);
  }
  catch (err) {
    return value;
  }
}
414667
def _get_element_properties(name, element_type, server=None):
    '''
    
    '''
    properties = {}
    data = _api_get('{0}/{1}/property'.format(element_type, name), server)

    # Get properties into a dict
    if any(data['extraProperties']['properties']):
        for element in data['extraProperties']['properties']:
            properties[element['name']] = element['value']
        return properties
    return {}
1029112
def element_data_from_name(name):
    '''
    '''

    name_lower = name.lower()
    if name_lower not in _element_name_map:
        raise KeyError('No element data for name \'{}\''.format(name))
    return _element_name_map[name_lower]
463100
def _load_get_attr(self, name):
        ''
        if self._mode in _allowed_read and self._N is None:
            self._read_header()
        return getattr(self, name)
403127
public Property getProperty(String... name) {
        if (name == null || name.length == 0) return null;

        for (Property p : properties) {
            if (Objects.equals(name[0], p.name)) {
                if (name.length == 1)
                    return p;
                else
                    return p.getProperty(Arrays.copyOfRange(name, 1, name.length));
            }
        }
        return null;
    }
1229463
def get_property_by_name(self, name):
        
        if "." not in name and name in self.properties:
            return self.properties[name]

        tokens = name.split(".")
        object = self
        for token in tokens:
            if isinstance(object, (DocumentObjectField, ObjectField, NestedObject)):
                if token in object.properties:
                    object = object.properties[token]
                    continue
            elif isinstance(object, MultiField):
                if token in object.fields:
                    object = object.fields[token]
                    continue
            raise MappedFieldNotFoundException(token)
        if isinstance(object, (AbstractField, MultiField)):
            return object
        raise MappedFieldNotFoundException(object)
625968
public String getPropertyName(String name) {

        if ("float".equals(name)) {
            return "cssFloat";
        } else if ("class".equals(name)) {
            return "className";
        } else if ("for".equals(name)) {
            return "htmlFor";
        }
        return camelize(name);
    }