get_element_by_id method

get_element_by_id

Returns the first element within node’s descendants whose ID is elementId.

Returns

Returns the first matched element.

def get_element_by_id(self, element_id):
    ...
ParameterTypeDescription
element_idstrThe element identifier.

See Also