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
classattribute of the elements.name (str, default=None) – The value of the
nameattribute of the elements.do_copy (bool) – If
True, the elements will be copied.attrs (dict, default=None) – Attributes other than
classandnamecan be specified in this dictionary.
- Returns:
elements_list – A list of Element objects that match the parameters.
- Return type:
list(Element)