18 Aug 12:21:06 - [info] Node-RED version: v3.0.2
18 Aug 12:21:06 - [info] Node.js version: v16.16.0
My flow is the following:
[
{
"id": "b5cbf7492196e34a",
"type": "tab",
"label": "Flow 1",
"disabled": false,
"info": "",
"env": []
},
{
"id": "07d08e02c2b10887",
"type": "puppeteer-browser-launch",
"z": "b5cbf7492196e34a",
"timeout": 30000,
"slowMo": 0,
"headless": 0,
"debugport": 0,
"devtools": false,
"name": "",
"x": 400,
"y": 220,
"wires": [
[]
]
},
{
"id": "b1595666c2921b93",
"type": "inject",
"z": "b5cbf7492196e34a",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 220,
"y": 220,
"wires": [
[
"07d08e02c2b10887"
]
]
}
]
I have tried another puppeteer node-red library, and this one worked: node-red-contrib-puppeteer-core
The problem is it is only to retrieve HTML code of a webpage, and not what I what to do with puppeteer.