nightmare 2.1.0 で確認
Nightmare.action('css', function(css, done){
this.child.emit('css', css);
done();
});
/* 使用例
yield nightmare.goto('http://example.com').css(`
body { font-family:"Comic Sans MS" !important; }
`).wait(1000);
*/
More than 5 years have passed since last update.
nightmare 2.1.0 で確認
Nightmare.action('css', function(css, done){
this.child.emit('css', css);
done();
});
/* 使用例
yield nightmare.goto('http://example.com').css(`
body { font-family:"Comic Sans MS" !important; }
`).wait(1000);
*/
Register as a new user and use Qiita more conveniently