get_by_xpath
get_by_xpath($xpath); - this function is used to get the DOM interface of a page element, finding it by the specified xpath.
Available from version 6.0.47
The input function accepts parameters:
$xpath – xpath of the specified element (string).
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