Chris@0: response["error"]["args"][0]; Chris@0: } Chris@0: Chris@0: /** Chris@0: * Gets the selector related to the method Chris@0: * @return string Chris@0: */ Chris@0: public function getSelector() { Chris@0: return $this->response["error"]["args"][1]; Chris@0: } Chris@0: Chris@0: /** Chris@0: * @return string Chris@0: */ Chris@0: public function message() { Chris@0: return "The browser raised a syntax error while trying to evaluate" . $this->getMethod() . " selector " . $this->getSelector(); Chris@0: } Chris@0: }