private function assertElementText($condition, $message, Element $element)
    {
        if ($condition) {
            return;
        }

        throw new ElementTextException($message, $this->session->getDriver(), $element);
    }
private function assertElementText($condition, $message, Element $element)
    {
        if ($condition) {
            return;
        }

        throw new ElementTextException($message, $this->session->getDriver(), $element);
    }
private function assertElementText ( $ condition , $ message , Element $ element ) { if ( $ condition ) { return ; } throw new ElementTextException ( $ message , $ this -> session -> getDriver ( ) , $ element ) ; }
Asserts a condition involving the text of an element.

@param bool    $condition
@param string  $message   Failure message
@param Element $element

@throws ElementTextException when the condition is not fulfilled
Asserts a condition involving the text of an element .