0
0

More than 3 years have passed since last update.

node v12 puppeteer-coreとChromeでWEBページからスクリーンショットを取る

Posted at

node.js v12.10で座標での画面キャプチャを取得するサンプルを書きました。

探してもあまりネタが無かったので、お試しです。

Git hub:node_puppeteersample

puppeteerを使用するに当たり、ブラウザが必要になるようです。
AWSで利用する場合は、puppeteer(chrome付き)ではサイズオーバーみたいなので、
puppeteer-coreと、AWSの提供?するChromeアプリを指定してあげないと駄目みたいですね。

ソースはほとんど、他のサイトからのコピペです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0