protected function GetElementFromDocument(QueryPath\DOMQuery $Document, string $Query) : QueryPath\DOMQuery { /*// attempt to find the element(s) described by the specified query. //*/ $this->PrintLine(">> Searching HTML for {$Query}"); // god damn is this library (QueryPath) noisy as f**k. // we already accepted the HTML may be poorly formed. its the // internet after all... return @$Document->Find($Query); }