Commit 729bc7b5 729bc7b5ea669f62fd09769646e1dffe13cba54f by Nicolas Perriault

fixed incomplete error message logged when passed an erroneous selector

1 parent 6c7ae14c
......@@ -8,6 +8,7 @@ XXXX-XX-XX, v0.6.9
- fixed [#117](https://github.com/n1k0/casperjs/issues/117) - `fill()` coulnd't `submit()` a form with a submit input named *submit*
- merged [#122](https://github.com/n1k0/casperjs/pull/122) - allow downloads to be triggered by more than just `GET` requests
- fixed loaded resources array is now reset adequately [reference discussion](https://groups.google.com/forum/?hl=fr?fromgroups#!topic/casperjs/TCkNzrj1IoA)
- fixed incomplete error message logged when passed an erroneous selector (xpath and css)
2012-05-20, v0.6.8
------------------
......
......@@ -420,7 +420,7 @@
this.processSelector = function processSelector(selector) {
var selectorObject = {
toString: function toString() {
return this.type + ' selector: ' + this.selector;
return this.type + ' selector: ' + this.path;
}
};
if (typeof selector === "string") {
......