src/LinusShops/Contexts/Web.php
public function isVisible($cssSelector)
    {
        $session = $this->getSession();
        $page = $session->getPage();

        $pageElement = $page->find('css', $cssSelector);

        return $pageElement == null ? false : $pageElement->isVisible();
    }
public function isVisible($cssSelector)
    {
        $session = $this->getSession();
        $page = $session->getPage();

        $pageElement = $page->find('css', $cssSelector);

        return $pageElement == null ? false : $pageElement->isVisible();
    }
public function isVisible ( $ cssSelector ) { $ session = $ this -> getSession ( ) ; $ page = $ session -> getPage ( ) ; $ pageElement = $ page -> find ( 'css' , $ cssSelector ) ; return $ pageElement == null ? false : $ pageElement -> isVisible ( ) ; }
Determine if the specified css selector is visible on the page.

@param string $cssSelector
@return bool
Determine if the specified css selector is visible on the page .