phantom js가 2.0을 출시했다. mac에서는 brew로 쉽게 설치할 수 있다.
$ brew install phantomjs
$ cat > hello.js
console.log("hello world");
phantom.exit();
$ phantomjs hello.js
hello world
좋다던 casperjs는 현재 2.0을 제대로 지원하지 않는다.
포기한거냐 라는 질문이 들어왔을 정도이다. 현재 대답도 명확치 않은 상태이다. ㅜㅜ
https://github.com/n1k0/casperjs/issues/1299
ghostdriver도 쉽지 않은 상황이다.
https://github.com/detro/ghostdriver
'java script' 카테고리의 다른 글
[javascript] parseInt - 문자열을 숫자로 변환하기 (0) | 2016.02.04 |
---|---|
[펌] mw js - nodejs + webkit (0) | 2015.09.11 |
오랜만에 javascript 공부하면서 도움 받은 블러그 글들 (0) | 2015.05.18 |
패스워드 조합에 따른 난해도 상, 중, 하를 보여주는 자바스크립트 (0) | 2011.08.05 |
jQuery Proven Performance Tips & Tricks (0) | 2011.07.13 |