# Screenshot a webpage and send email using nodered

**URL:** <https://discourse.nodered.org/t/screenshot-a-webpage-and-send-email-using-nodered/8973>\
**Category:** General\
**Created:** [14 March 2019 12:47 UTC](https://discourse.nodered.org/t/screenshot-a-webpage-and-send-email-using-nodered/8973 "2019-03-14T12:47:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex1](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@alex1](https://discourse.nodered.org/u/alex1)\
**Post date:** [14 March 2019 12:47 UTC](https://discourse.nodered.org/t/screenshot-a-webpage-and-send-email-using-nodered/8973/1 "2019-03-14T12:47:07Z")

</div>

can i actually take webshot of a webpage then email it using nodered? i did try to use the webshot palette...but it keep on crashing whenever i trigger it. Crashing means.....i will be logout from my Node-RED

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [14 March 2019 13:14 UTC](https://discourse.nodered.org/t/screenshot-a-webpage-and-send-email-using-nodered/8973/2 "2019-03-14T13:14:39Z")

</div>

If a node crashes Node-RED you really need to tell the author (usually by opening an issue on the nodes github page) so that it can be fixed.

There is also the nbrowser contrib node which you can find and read the readme on [glows.nodered.org](http://glows.nodered.org)

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [14 March 2019 13:18 UTC](https://discourse.nodered.org/t/screenshot-a-webpage-and-send-email-using-nodered/8973/3 "2019-03-14T13:18:08Z")

</div>

> [@ukmoose](#):
>
> [glows.nodered.org](http://glows.nodered.org)

haha, interesting idea for a website 😉

However, [flows.nodered.org](http://flows.nodered.org) might give some better results for now. 😄

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [14 March 2019 14:51 UTC](https://discourse.nodered.org/t/screenshot-a-webpage-and-send-email-using-nodered/8973/4 "2019-03-14T14:51:54Z")

</div>

To get more information run

```bash
node-red-stop
node-red-start

```

in a terminal, then trigger the node. You can post the resulting output here if necessary.

---

<div class="post-metadata">

**Author:** ![Nokomis](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nokomis/32/5080_2.png) [@Nokomis](https://discourse.nodered.org/u/Nokomis)\
**Post date:** [9 May 2019 20:49 UTC](https://discourse.nodered.org/t/screenshot-a-webpage-and-send-email-using-nodered/8973/5 "2019-05-09T20:49:50Z")

</div>

I can verify that the webshot node crashes and restarts Node-RED. I too am looking for a way to capture a Node-RED ui screenshot and send it, via Twilio/SMS. I've tried all 3 nodes that mention screenshots, including the one that came out today. The other two I've tried are node-red-contrib-screenshot 1.0.1 and today's version of node-red-contrib-web-page-screenshot 0.0.2. Here's the output after installing webshot and adding it to a flow:

9 May 14:56:09 - [info] Installed module: node-red-contrib-webshot  
9 May 14:56:10 - [info] Added node types:  
9 May 14:56:10 - [info] - node-red-contrib-webshot:WebShot  
Prelimenary Heat Index is 87.13989869999992  
Heat index with no adjustment is 87.13989869999992  
Prelimenary Heat Index is 87.13989869999992  
Heat index with no adjustment is 87.13989869999992  
9 May 14:56:54 - [info] Stopping modified nodes  
9 May 14:56:54 - [info] Stopped modified nodes  
9 May 14:56:54 - [info] Starting modified nodes  
9 May 14:56:54 - [info] Started modified nodes  
9 May 14:57:48 - [red] Uncaught Exception:  
9 May 14:57:48 - Error: spawn phantomjs ENOENT  
at Process.ChildProcess.\_handle.onexit (internal/child\_process.js:190:19)  
at onErrorNT (internal/child\_process.js:362:16)  
at \_combinedTickCallback (internal/process/next\_tick.js:139:11)  
at process.\_tickCallback (internal/process/next\_tick.js:181:9)  
nodered.service: Main process exited, code=exited, status=1/FAILURE  
nodered.service: Unit entered failed state.  
nodered.service: Failed with result 'exit-code'.  
nodered.service: Service hold-off time over, scheduling restart.  
Stopped Node-RED graphical event wiring tool.  
Started Node-RED graphical event wiring tool.  
9 May 14:57:52 - [info]  
Welcome to Node-RED

9 May 14:57:52 - [info] Node-RED version: v0.20.5  
9 May 14:57:52 - [info] Node.js version: v8.16.0  
9 May 14:57:52 - [info] Linux 4.14.98-v7+ arm LE  
9 May 14:57:52 - [info] Loading palette nodes  
9 May 14:58:04 - [info] Worldmap version 1.5.38  
9 May 14:58:08 - [info] Dashboard version 2.9.8 started at /ui  
9 May 14:58:10 - [info] Settings file : /home/pi/.node-red/settings.js  
9 May 14:58:10 - [info] HTTP Static : /home/pi/.node-red/public  
9 May 14:58:10 - [info] Context store : 'default' [module=memory]  
9 May 14:58:10 - [info] User directory : /home/pi/.node-red  
9 May 14:58:10 - [warn] Projects disabled : editorTheme.projects.enabled=false  
9 May 14:58:10 - [info] Flows file : /home/pi/.node-red/flows.json  
9 May 14:58:10 - [info] Server now running at [http://127.0.0.1:1880/](http://127.0.0.1:1880/)  
9 May 14:58:10 - [warn]

---

<div class="post-metadata">

**Author:** ![alexalburca](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alexalburca/32/14918_2.png) [@alexalburca](https://discourse.nodered.org/u/alexalburca)\
**Post date:** [3 December 2019 17:57 UTC](https://discourse.nodered.org/t/screenshot-a-webpage-and-send-email-using-nodered/8973/6 "2019-12-03T17:57:26Z")

</div>

Did you find any solution for web site screenshot?

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [3 December 2019 18:04 UTC](https://discourse.nodered.org/t/screenshot-a-webpage-and-send-email-using-nodered/8973/7 "2019-12-03T18:04:17Z")

</div>

This thread might be of some help to you

> [@Screenshot of Dashboard headless mode](https://discourse.nodered.org/t/screenshot-of-dashboard-headless-mode/17738):
>
> Hi guy, I am trying to take a screenshot in headless mode of the dashboard but till now I had no success. I can take screenshots of webpages without any problems. but when it comes to taking a screenshot of the dashboard or the node-red program environment I get a white or gray image. Till now I tried firefox and cutycapt. In the exec node command line: firefox -screenshot pic.png [http://192.168.1.1:1880/ui](http://192.168.1.1:1880/ui) or xvfb-run --server-args="-screen 0, 1024x768x24" ./CutyCapt --url=http://192.168…
