Commit 20a6e4d7 20a6e4d7135ff607a35f0802afeb005e4993fa53 by Nicolas Perriault

fixed mistake in docs

1 parent 858e5dac
...@@ -508,8 +508,8 @@ This method will retrieved a base64 encoded version of any resource behind an ur ...@@ -508,8 +508,8 @@ This method will retrieved a base64 encoded version of any resource behind an ur
508 ``` javascript 508 ``` javascript
509 var logo = null; 509 var logo = null;
510 casper.start('http://foo.bar/', function(self) { 510 casper.start('http://foo.bar/', function(self) {
511 var imgUrl = document.querySelector('img.logo').getAttribute('src');
512 logo = self.evaluate(function() { 511 logo = self.evaluate(function() {
512 var imgUrl = document.querySelector('img.logo').getAttribute('src');
513 return__utils__.getBase64(imgUrl); 513 return__utils__.getBase64(imgUrl);
514 }; 514 };
515 }).run(function(self) { 515 }).run(function(self) {
......