Commit e772345c e772345c5c5fa679d8e4bec75881e9aa6b8fffcb by Nicolas Perriault

fixed googlematch.js sample

1 parent 5ba5ae30
...@@ -42,7 +42,7 @@ casper.start("http://google.fr/"); ...@@ -42,7 +42,7 @@ casper.start("http://google.fr/");
42 casper.each(terms, function(casper, term, i) { 42 casper.each(terms, function(casper, term, i) {
43 this.echo('Fetching score for ' + term); 43 this.echo('Fetching score for ' + term);
44 this.then(function() { 44 this.then(function() {
45 this.fill('form[action="/search"]', {q: term}, true); 45 this.fill('form[action="/search"]', {q: '"' + term + '"'}, true);
46 }); 46 });
47 this.then(function() { 47 this.then(function() {
48 var score = this.fetchScore(); 48 var score = this.fetchScore();
......