fixed googlematch.js sample
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -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(); | ... | ... |
-
Please register or sign in to post a comment