get_child_by_outer_html
get_child_by_outer_html($outer_html,$exactly=false,$include_subchildren=false); - get the interface of the child DOM element with the specified external html (available from version 7.0.25)
the input Function accepts parameters:
$outer_html – external xtml (string). $exactly – exact match of the external html when searching for an element (boolean), by default true - the external html must completely match the passed parameter ($outer_html). if this parameter is set as false, the first element with the specified string in the external html will be found ($outer_html).$include_subchildren – also search for all child subelements. (available from version 7.0.23)
After testing, the function returns the result of its work to the script :
DOM element interface – an object that allows you to quickly perform any operations with the found element, the return value type XHEInterface