Chris@0: message = $this->message(); Chris@0: } Chris@0: Chris@0: /** Chris@0: * @return string Chris@0: */ Chris@0: public function message() { Chris@0: return "The element you are trying to interact with is either not part of the DOM, or is Chris@0: not currently visible on the page (perhaps display: none is set). Chris@0: It's possible the element has been replaced by another element and you meant to interact with Chris@0: the new element. If so you need to do a new 'find' in order to get a reference to the Chris@0: new element."; Chris@0: } Chris@0: }