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
20a6e4d7
...
20a6e4d7135ff607a35f0802afeb005e4993fa53
authored
2011-09-23 11:38:47 +0200
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed mistake in docs
1 parent
858e5dac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
README.md
README.md
View file @
20a6e4d
...
...
@@ -508,8 +508,8 @@ This method will retrieved a base64 encoded version of any resource behind an ur
```
javascript
var
logo
=
null
;
casper
.
start
(
'http://foo.bar/'
,
function
(
self
)
{
var
imgUrl
=
document
.
querySelector
(
'img.logo'
).
getAttribute
(
'src'
);
logo
=
self
.
evaluate
(
function
()
{
var
imgUrl
=
document
.
querySelector
(
'img.logo'
).
getAttribute
(
'src'
);
return__utils__
.
getBase64
(
imgUrl
);
};
}).
run
(
function
(
self
)
{
...
...
Please
register
or
sign in
to post a comment