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