Help us understand the problem. What is going on with this article?

githubのTrendingになっているchromelessをWindowsで試す

More than 1 year has passed since last update.

windowsでchromelessのexsampleを試すまで

chromeless

https://github.com/graphcool/chromeless

下記を参考にnodistをインストール
http://qiita.com/satoyan419/items/56e0b5f35912b9374305

nodist + v8.0.0 //node v 6.0.0とかだとasync functionが使えないのでv7.0.0以上にすること
nodist v8.0.0
node -v //確認
npm install chromeless
cd C:\Users\ryo-sato\AppData\Local\Google\Chrome SxS\Application //chromeのパス
chrome.exe --romote-debugging-port=9222  --disable-gpu --headless

・C:直下にtmpフォルダを作る //スクリーンショット用
・C:\nodeのフォルダを作る //スクリプトを置く場所
・C:\node\testにexsampleスクリプトを記載

cd C:\node
node test

これでC:\tmpに下記の感じでchromeのスクリーンショットが保存される。

[https://gyazo.com/d923a2cc564e0b8145f73b60334b56cb]

ryoji-sato
知らない世界がたくさん広がっていて楽しい
denagames
ユーザーファーストを掲げ、アプリ・ブラウザゲームの運営に特化したDeNAのグループ会社です
https://denagames-tokyo.jp/
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした