console.log funktioniert in CasperJS 'Evaluierung mit setTimeout nicht
Warum wenn ich benutzeconsole.log
imevaluate
, Es klappt:
casper.then(function() {
this.evaluate( function() {
console.log('hello');
});
});
Das funktioniert aber nicht:
casper.then(function() {
this.evaluate( function() {
setTimeout( function() {console.log('hello');}, 1000);
});
});