How to fetch browser console data to node-red debug message?

Good evening everyone, I'm facing problem about fetching the browser console data to node-red debug message, I want to fetch the browser console message which is "default" to the node-red debug message.

and this is the flow I'm using

[{"id":"1f80c6c.a19f439","type":"tab","label":"Flow 15","disabled":false,"info":""},{"id":"4c0e9bf3.591894","type":"inject","z":"1f80c6c.a19f439","name":"make request","props":[{"p":"payload","v":"","vt":"date"},{"p":"topic","v":"","vt":"string"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":130,"y":120,"wires":[["ccf839dc.b5a448"]]},{"id":"ccf839dc.b5a448","type":"http request","z":"1f80c6c.a19f439","name":"","method":"GET","ret":"obj","paytoqs":"ignore","url":"https://editor.p5js.org/jdencool0830/sketches/rMhrUb8a0","tls":"","persist":false,"proxy":"","authType":"","x":370,"y":120,"wires":[["6b766193.08728"]]},{"id":"6b766193.08728","type":"debug","z":"1f80c6c.a19f439","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":610,"y":120,"wires":[]}]

and this is what I got in the debug message

which does not show the browser console message at all. Do anyone know how to modify this? Thank you eveyone.

this is the flow that im using

A http request will get/download the HTML from the url - HOWEVER - it is NOT a browser and it will NOT execute javascript - so you wont/cant get the console logs.

Thank you for answering, is there any other node that are able to fetch the console message from web editor to node-red?

Not really. You would need to embed that site or recreate its functionality in a dashboard (of some kind) using dashboard template or uibuilber, and capture messages that would be sent to Console log and post them back to node-red.

Noted, thank you so much Steve.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.