fixed incomplete error message logged when passed an erroneous selector
Showing
2 changed files
with
2 additions
and
1 deletions
... | @@ -8,6 +8,7 @@ XXXX-XX-XX, v0.6.9 | ... | @@ -8,6 +8,7 @@ XXXX-XX-XX, v0.6.9 |
8 | - fixed [#117](https://github.com/n1k0/casperjs/issues/117) - `fill()` coulnd't `submit()` a form with a submit input named *submit* | 8 | - fixed [#117](https://github.com/n1k0/casperjs/issues/117) - `fill()` coulnd't `submit()` a form with a submit input named *submit* |
9 | - merged [#122](https://github.com/n1k0/casperjs/pull/122) - allow downloads to be triggered by more than just `GET` requests | 9 | - merged [#122](https://github.com/n1k0/casperjs/pull/122) - allow downloads to be triggered by more than just `GET` requests |
10 | - fixed loaded resources array is now reset adequately [reference discussion](https://groups.google.com/forum/?hl=fr?fromgroups#!topic/casperjs/TCkNzrj1IoA) | 10 | - fixed loaded resources array is now reset adequately [reference discussion](https://groups.google.com/forum/?hl=fr?fromgroups#!topic/casperjs/TCkNzrj1IoA) |
11 | - fixed incomplete error message logged when passed an erroneous selector (xpath and css) | ||
11 | 12 | ||
12 | 2012-05-20, v0.6.8 | 13 | 2012-05-20, v0.6.8 |
13 | ------------------ | 14 | ------------------ | ... | ... |
... | @@ -420,7 +420,7 @@ | ... | @@ -420,7 +420,7 @@ |
420 | this.processSelector = function processSelector(selector) { | 420 | this.processSelector = function processSelector(selector) { |
421 | var selectorObject = { | 421 | var selectorObject = { |
422 | toString: function toString() { | 422 | toString: function toString() { |
423 | return this.type + ' selector: ' + this.selector; | 423 | return this.type + ' selector: ' + this.path; |
424 | } | 424 | } |
425 | }; | 425 | }; |
426 | if (typeof selector === "string") { | 426 | if (typeof selector === "string") { | ... | ... |
-
Please register or sign in to post a comment