Element.to_dict# Element.to_dict(depth=-1, ordered=True, **kwargs)# Returns a dict representation of the object. Parameters: depth (int) ordered (bool) Return type: dict | OrderedDict