public function isVisible($xpath) {
    $elements = $this->findElement($xpath, 1);
    return $this->browser->isVisible($elements["page_id"], $elements["ids"][0]);
  }
public function isVisible($xpath) {
    $elements = $this->findElement($xpath, 1);
    return $this->browser->isVisible($elements["page_id"], $elements["ids"][0]);
  }
public function isVisible ( $ xpath ) { $ elements = $ this -> findElement ( $ xpath , 1 ) ; return $ this -> browser -> isVisible ( $ elements [ "page_id" ] , $ elements [ "ids" ] [ 0 ] ) ; }
Check if element given by xpath is visible or not
@param string $xpath
@return bool
@throws DriverException
Check if element given by xpath is visible or not