Hi i use this flow to save a web page into a pdf file :
[
{
"id": "129d963431e3975c",
"type": "tab",
"label": "Flow 1",
"disabled": false,
"info": "",
"env": []
},
{
"id": "a1c3b5dc9d7fc22e",
"type": "nbrowser",
"z": "129d963431e3975c",
"name": "test",
"methods": [
{
"name": "gotoURL",
"func": "goto",
"params": [
{
"type": "msg",
"value": "payload",
"typeDefault": "str"
}
]
},
{
"name": "saveAs",
"func": "saveAs",
"params": [
{
"type": "saveAction",
"value": "pdf",
"typeDefault": "saveAction"
},
{
"type": "str",
"value": "/data/pdf/test.pdf",
"typeDefault": "str"
}
]
}
],
"prop": "nbrowser",
"propout": "payload",
"object": "msg",
"objectout": "msg",
"close": false,
"show": true,
"ssl": true,
"outputs": 1,
"x": 410,
"y": 100,
"wires": [
[]
]
},
{
"id": "27100f4dbdee757d",
"type": "inject",
"z": "129d963431e3975c",
"name": "https://flows.nodered.org/",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "https://flows.nodered.org/",
"payloadType": "str",
"x": 170,
"y": 100,
"wires": [
[
"a1c3b5dc9d7fc22e"
]
]
}
]
But the file is not created. I forgot something ?
An idea ?