Commit c465362a c465362a8e3c32f30d74c026b6d1300fc9e516bb by Nicolas Perriault

fixed invalid selector for some samples

1 parent 4019e76d
......@@ -30,7 +30,7 @@ casper.start("http://google.fr/");
casper.each(terms, function(self, term, i) {
self.then(function(self) {
self.fill('form[name=f]', { q: term }, true);
self.fill('form[action="/search"]', { q: term }, true);
}).then(function(self) {
var score = self.fetchScore();
scores.push({
......
......@@ -11,7 +11,7 @@ if casper.cli.args.length == 0
casper.exit()
casper.start 'http://google.com', ->
@fill 'form[name=f]', q: casper.cli.args.join(' '), true
@fill 'form[action="/search"]', q: casper.cli.args.join(' '), true
@click 'input[value="Google Search"]'
casper.then ->
......