{"id":65660,"date":"2018-12-17T09:13:15","date_gmt":"2018-12-17T00:13:15","guid":{"rendered":"https:\/\/www.softantenna.com\/wp\/?p=65660"},"modified":"2018-12-17T09:13:15","modified_gmt":"2018-12-17T00:13:15","slug":"screenshoteer","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/screenshoteer\/","title":{"rendered":"Screenshoteer - \u30e2\u30d0\u30a4\u30eb\u7aef\u672b\u3092\u30a8\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u308bWeb\u30da\u30fc\u30b8\u306e\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u53d6\u5f97\u30c4\u30fc\u30eb"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2018\/12\/s_20181213_184835.jpg\" alt=\"S 20181213 184835\" title=\"s_20181213_184835.jpg\" border=\"0\" width=\"1013\" height=\"679\" \/><\/p>\n<p>\u73fe\u5728\u306eWeb\u30b5\u30a4\u30c8\u306f\u591a\u7a2e\u591a\u69d8\u306a\u30c7\u30d0\u30a4\u30b9\u304b\u3089\u95b2\u89a7\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u304d\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u7279\u306b\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u3084\u30bf\u30d6\u30ec\u30c3\u30c8\u306a\u3069\u306e\u30e2\u30d0\u30a4\u30eb\u7aef\u672b\u3092\u5229\u7528\u3059\u308b\u30e6\u30fc\u30b6\u30fc\u304c\u5897\u52a0\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u305d\u306e\u3088\u3046\u306a\u30e2\u30d0\u30a4\u30eb\u7aef\u672b\u306f\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u304c\u5c0f\u3055\u304f\u3001Web\u30b5\u30a4\u30c8\u5074\u3067\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u7528\u3068\u306f\u7570\u306a\u308b\u914d\u616e\u304c\u5fc5\u8981\u306b\u306a\u3063\u3066\u304d\u307e\u3059\u3002<\/p>\n<p>\u672c\u65e5\u7d39\u4ecb\u3059\u308b\u300c<a href=\"https:\/\/github.com\/vladocar\/screenshoteer\">Screenshoteer<\/a>\u300d\u306f\u305d\u306e\u3088\u3046\u306a\u591a\u5f69\u306a\u74b0\u5883\u306b\u5bfe\u5fdc\u3059\u308b\u5fc5\u8981\u304c\u3042\u308bWeb\u30b5\u30a4\u30c8\u3084Web\u30a2\u30d7\u30ea\u3092\u958b\u767a\u3059\u308b\u969b\u306b\u4fbf\u5229\u306a\u3001\u30a8\u30df\u30e5\u30ec\u30fc\u30c8\u6a5f\u80fd\u3064\u304d\u306e\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u53d6\u5f97\u30c4\u30fc\u30eb\u3067\u3059\u3002<\/p>\n<p>Puppeteer\u3092\u30d9\u30fc\u30b9\u3068\u3057\u305f\u30c4\u30fc\u30eb\u3067\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u4f7f\u7528\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>Screenshoteer\u306e\u4f7f\u7528\u65b9\u6cd5<\/h2>\n<p>Screenshoteer\u306fNode\u88fd\u306e\u30c4\u30fc\u30eb\u3067npm\u3092\u5229\u7528\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>npm i -g screenshoteer<\/pre>\n<p>\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u3092\u64ae\u5f71\u3059\u308b\u306b\u306f\u300c--url\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u8ffd\u52a0\u3057\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre>screenshoteer  --url https:\/\/www.softantenna.com<\/pre>\n<p>\u3059\u308b\u3068\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u300cWeb\u30da\u30fc\u30b8\u306e\u30bf\u30a4\u30c8\u30eb \u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7.png\u300d\u3068\u3044\u3063\u305f\u5f62\u5f0f\u306e\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u304c\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30e2\u30d0\u30a4\u30eb\u7aef\u672b\u3092\u30a8\u30df\u30e5\u30ec\u30fc\u30c8\u3059\u308b\u5834\u5408\u306f\u300c--emulate\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002iPhone 7\u306e\u898b\u305f\u76ee\u3092\u518d\u73fe\u3057\u305f\u3044\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>screenshoteer  --url https:\/\/www.softantenna.com --emulate \"iPhone 7\"<\/pre>\n<p>\u898b\u3048\u308b\u7bc4\u56f2\u306b\u9650\u5b9a\u3057\u305f\u3044\u5834\u5408\u300c--fullpage false\u300d\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre>screenshoteer  --url https:\/\/www.softantenna.com --emulate \"iPhone 7\" --fullpage false<\/pre>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306apng\u753b\u50cf\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2018\/12\/s_20181213_191249.jpg\" alt=\"S 20181213 191249\" title=\"s_20181213_191249.jpg\" border=\"0\" width=\"987\" height=\"683\" \/><\/p>\n<p>\u305d\u306e\u4ed6\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n<ul>\n<li><span class=\"mybold\">--url<\/span>: Web\u30da\u30fc\u30b8\u306eURL <\/li>\n<li><span class=\"mybold\">--emulate<\/span>: \u30c7\u30d0\u30a4\u30b9\u3092\u30a8\u30df\u30e5\u30ec\u30fc\u30c8\u3059\u308b\u3002\u4f8b)--emulate \"iPhone 6\" <\/li>\n<li><span class=\"mybold\">--fullpage<\/span>: true or false\u3092\u6307\u5b9a\u3002Web\u30da\u30fc\u30b8\u5168\u4f53\u3092\u53d6\u5f97\u3059\u308b\u304b\u3069\u3046\u304b<\/li>\n<li><span class=\"mybold\">--pdf<\/span>: \u8ffd\u52a0\u3067pdf\u3092\u751f\u6210<\/li>\n<li><span class=\"mybold\">--w<\/span>: Web\u30da\u30fc\u30b8\u306e\u5e45\u3092\u30d4\u30af\u30bb\u30eb\u3067\u6307\u5b9a<\/li>\n<li><span class=\"mybold\">--h<\/span>: Web\u30da\u30fc\u30b8\u306e\u9ad8\u3055\u3092\u30d4\u30af\u30bb\u30eb\u3067\u6307\u5b9a<\/li>\n<li><span class=\"mybold\">--waitfor<\/span>: \u30da\u30fc\u30b8\u3092\u8aad\u307f\u8fbc\u3080\u5f85\u3061\u6642\u9593\u3092\u30df\u30ea\u79d2\u3067\u6307\u5b9a<\/li>\n<li><span class=\"mybold\">--el<\/span>: document.querySelector\u306eCSS\u30bb\u30ec\u30af\u30bf<\/li>\n<li><span class=\"mybold\">--auth<\/span>: \u57fa\u672c\u8a8d\u8a3c\u60c5\u5831<\/li>\n<\/ul>\n<p>\u5177\u4f53\u7684\u306a\u4f7f\u7528\u4f8b\u306f\u516c\u5f0f\u306eGitHub\u30da\u30fc\u30b8\u306b\u63b2\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>Screenshoteer\u3092\u4f7f\u7528\u3059\u308c\u3070\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u7aef\u672b\u3092\u30a8\u30df\u30e5\u30ec\u30fc\u30c8\u3057\u3066Web\u30b5\u30a4\u30c8\u306e\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u5b9f\u6a5f\u306a\u304f\u3066\u3082\u898b\u305f\u76ee\u304c\u78ba\u8a8d\u3067\u304d\u308b\u4fbf\u5229\u306a\u30c4\u30fc\u30eb\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u73fe\u5728\u306eWeb\u30b5\u30a4\u30c8\u306f\u591a\u7a2e\u591a\u69d8\u306a\u30c7\u30d0\u30a4\u30b9\u304b\u3089\u95b2\u89a7\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u304d\u3066\u3044\u307e\u3059\u3002 \u7279\u306b\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u3084\u30bf\u30d6\u30ec\u30c3\u30c8\u306a\u3069\u306e\u30e2\u30d0\u30a4\u30eb\u7aef\u672b\u3092\u5229\u7528\u3059\u308b\u30e6\u30fc\u30b6\u30fc\u304c\u5897\u52a0\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u305d\u306e\u3088\u3046\u306a\u30e2\u30d0\u30a4\u30eb\u7aef\u672b\u306f\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u304c\u5c0f\u3055\u304f\u3001Web\u30b5\u30a4 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":65718,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[3459],"tags":[1624],"class_list":["post-65660","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-review","tag-node"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/65660","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=65660"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/65660\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/65718"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=65660"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=65660"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=65660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}