Element.get_element#

Element.get_element(element_id, do_copy=False)[source]#

Gets a child element from its id attribute.

Parameters:
  • element_id (str) –

  • do_copy (bool, default = False) – If True, the element will be copied.

Returns:

  • element (Element) – If the element was found, an Element object will be returned.

  • None – If the element was not found.