IFrameElement.get_elements#

IFrameElement.get_elements(tag_name=None, class_name=None, name=None, do_copy=False, attrs=None)#

Get children elements by their tag name and attributes.

Parameters:
  • tag_name (str, default=None) – The tag name of the elements.

  • class_name (str, default=None) – The value of the class attribute of the elements.

  • name (str, default=None) – The value of the name attribute of the elements.

  • do_copy (bool) – If True, the elements will be copied.

  • attrs (dict, default=None) – Attributes other than class and name can be specified in this dictionary.

Returns:

elements_list – A list of Element objects that match the parameters.

Return type:

list(Element)