public function getTagName($xpath) {
    $elements = $this->findElement($xpath, 1);
    return $this->browser->tagName($elements["page_id"], $elements["ids"][0]);
  }
public function getTagName($xpath) {
    $elements = $this->findElement($xpath, 1);
    return $this->browser->tagName($elements["page_id"], $elements["ids"][0]);
  }
public function getTagName ( $ xpath ) { $ elements = $ this -> findElement ( $ xpath , 1 ) ; return $ this -> browser -> tagName ( $ elements [ "page_id" ] , $ elements [ "ids" ] [ 0 ] ) ; }
Gets the tag name of a given xpath
@param string $xpath
@return string
@throws DriverException
Gets the tag name of a given xpath