Skip to content

Instantly share code, notes, and snippets.

var casper = require('casper').create({
clientScripts:['jquery.min.js'],
});
phantom.injectJs('jquery.min.js');
casper.start('http://mixi.jp/', function() {
this.fill('form[name="login_form"]', {
email: '',
password: ''
}, true);
var casper = require('casper').create({
clientScripts:['jquery.min.js'],
});
phantom.injectJs('jquery.min.js');
casper.start('http://mixi.jp/', function() {
this.fill('form[name="login_form"]', {
email: '',
password: ''
}, true);