#環境
※下記よりcloneしたもの
#現象
guestからhostで稼働させているアドレスに
casperjsでアクセスすると、下記のメッセージが表示され、
それ以上の処理が動きませんでした。
cl
1[vagrant@casper orixrentec]$ casperjs test.js 2[info] [phantom] Starting... 3[debug] [phantom] opening url: http://ホストIP:8080/index.html, HTTP GET 4[debug] [phantom] Navigation requested: url=http://ホストIP:8080/index.html, type=Other, willNavigate=true, isMainFrame=true 5[debug] [phantom] url changed to "http://ホストIP:8080/index.html" 6[debug] [phantom] Successfully injected Casper client-side utilities 7# これ以降動かない。
test.jsはこんな内容です。
js
1casper 2 .start() 3 .open('http://ホストIP/index.html'); 4 .then(function(){ 5 console.log('test'); 6 });
つたない文章で申し訳ないのですが、
設定方法・アクセス方法に間違いなどあればご教授頂きたいです。
宜しくお願い致します。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。