Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
e772345c
...
e772345c5c5fa679d8e4bec75881e9aa6b8fffcb
authored
2013-11-26 11:07:26 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed googlematch.js sample
1 parent
5ba5ae30
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
samples/googlematch.js
samples/googlematch.js
View file @
e772345
...
...
@@ -42,7 +42,7 @@ casper.start("http://google.fr/");
casper
.
each
(
terms
,
function
(
casper
,
term
,
i
)
{
this
.
echo
(
'Fetching score for '
+
term
);
this
.
then
(
function
()
{
this
.
fill
(
'form[action="/search"]'
,
{
q
:
term
},
true
);
this
.
fill
(
'form[action="/search"]'
,
{
q
:
'"'
+
term
+
'"'
},
true
);
});
this
.
then
(
function
()
{
var
score
=
this
.
fetchScore
();
...
...
Please
register
or
sign in
to post a comment