get_child_by_outer_text
get_child_by_outer_text($outer_text,$exactly=false,$include_subchildren=false); - get the interface of the child DOM element with the specified internal text (available from version 7.0.25)
the input Function accepts parameters:
$outer_text – external text (string). $exactly – exact match of the external text when searching for an element (boolean), by default true - the external text must completely match the passed parameter ($outer_text). if this parameter is set as false, the first element with the specified string in the external text will be found ($outer_text).$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