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
55b7b251
...
55b7b25134a0c70ae8da3ef7c2de04314dd6614f
authored
2013-09-04 13:32:10 -0700
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge pull request #614 from johndouthat/patch-1
Fix typo base46 -> base64
2 parents
be96826c
9363cce7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
docs/modules/casper.rst
docs/modules/casper.rst
View file @
55b7b25
...
...
@@ -398,16 +398,16 @@ Example: retrieving google logo image encoded in base64::
You can also perform an HTTP POST request to retrieve the contents to
encode::
var base
46
contents = null;
var base
64
contents = null;
casper.start('http://domain.tld/download.html', function() {
base
46
contents = this.base64encode('http://domain.tld/', 'POST', {
base
64
contents = this.base64encode('http://domain.tld/', 'POST', {
param1: 'foo',
param2: 'bar'
});
});
casper.run(function() {
this.echo(base
46
contents).exit();
this.echo(base
64
contents).exit();
});
.. index:: bypass, Step stack
...
...
Please
register
or
sign in
to post a comment