n8n-nodes-test-node 1.0.8 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/RemoteChromiumCDPAutomationAPINode.node.js +69 -1
- package/dist/icon.svg +51 -4
- package/package.json +1 -1
- package/dist/icon.png +0 -0
package/README.md
CHANGED
|
@@ -14,9 +14,9 @@ npm install n8n-nodes-test-node
|
|
|
14
14
|
|
|
15
15
|
## What was generated
|
|
16
16
|
|
|
17
|
-
- 12 resource(s),
|
|
17
|
+
- 12 resource(s), 61 operation(s).
|
|
18
18
|
- Credential type **remoteChromiumCDPAutomationAPIApi**, with an editable **Base URL** field, plus: API Key / Bearer token field(s) per the spec's security scheme.
|
|
19
|
-
- Default Base URL: `https://api.example.com/v1` (
|
|
19
|
+
- Default Base URL: `https://api.example.com/v1` (the spec declared no `servers[0].url`, so this is a placeholder -- edit the credential's "Base URL" field before using the node)
|
|
20
20
|
|
|
21
21
|
## Limitations
|
|
22
22
|
|
|
@@ -6,7 +6,7 @@ class RemoteChromiumCDPAutomationAPINode {
|
|
|
6
6
|
this.description = {
|
|
7
7
|
displayName: 'Remote Chromium CDP Automation API',
|
|
8
8
|
name: 'remoteChromiumCDPAutomationAPI',
|
|
9
|
-
icon: 'file:icon.
|
|
9
|
+
icon: 'file:icon.svg',
|
|
10
10
|
group: ['transform'],
|
|
11
11
|
version: 1,
|
|
12
12
|
subtitle: '={{$parameter["operation"] + ($parameter["resource"] ? " " + $parameter["resource"] : "")}}',
|
|
@@ -468,6 +468,18 @@ class RemoteChromiumCDPAutomationAPINode {
|
|
|
468
468
|
},
|
|
469
469
|
},
|
|
470
470
|
},
|
|
471
|
+
{
|
|
472
|
+
name: 'Get A Captured Response Body (scripts, JSON, HTML, Images, ...)',
|
|
473
|
+
value: 'networkResponseBodyTabsTargetIdNetworkLogRequestIdBodyGet',
|
|
474
|
+
action: 'Get a captured response body (scripts, JSON, HTML, images, ...)',
|
|
475
|
+
description: 'Fetch the body of a request that already appears in the network log.\n\nThis only works while Chromium still has the body buffered in memory —\ngoverned by CDP_NETWORK_MAX_RESOURCE_BUFFER / CDP_NETWORK_MAX_TOTAL_BUFFER\nand cleared on navigation — so fetch it soon after the request finishes,\nnot as a permanent record. A 404 here most often means the body was\nevicted, not that anything went wrong.',
|
|
476
|
+
routing: {
|
|
477
|
+
request: {
|
|
478
|
+
method: 'GET',
|
|
479
|
+
url: '=/tabs/{{$parameter["targetId"]}}/network/log/{{$parameter["requestId"]}}/body',
|
|
480
|
+
},
|
|
481
|
+
},
|
|
482
|
+
},
|
|
471
483
|
{
|
|
472
484
|
name: 'Block Requests Matching URL Patterns (wildcards Allowed)',
|
|
473
485
|
value: 'networkBlockTabsTargetIdNetworkBlockPost',
|
|
@@ -2386,6 +2398,62 @@ class RemoteChromiumCDPAutomationAPINode {
|
|
|
2386
2398
|
},
|
|
2387
2399
|
},
|
|
2388
2400
|
},
|
|
2401
|
+
{
|
|
2402
|
+
displayName: 'Target Id',
|
|
2403
|
+
name: 'targetId',
|
|
2404
|
+
type: 'string',
|
|
2405
|
+
default: '',
|
|
2406
|
+
required: true,
|
|
2407
|
+
description: '',
|
|
2408
|
+
displayOptions: {
|
|
2409
|
+
show: {
|
|
2410
|
+
resource: ['tabs'],
|
|
2411
|
+
operation: ['networkResponseBodyTabsTargetIdNetworkLogRequestIdBodyGet'],
|
|
2412
|
+
},
|
|
2413
|
+
},
|
|
2414
|
+
},
|
|
2415
|
+
{
|
|
2416
|
+
displayName: 'Request Id',
|
|
2417
|
+
name: 'requestId',
|
|
2418
|
+
type: 'string',
|
|
2419
|
+
default: '',
|
|
2420
|
+
required: true,
|
|
2421
|
+
description: '',
|
|
2422
|
+
displayOptions: {
|
|
2423
|
+
show: {
|
|
2424
|
+
resource: ['tabs'],
|
|
2425
|
+
operation: ['networkResponseBodyTabsTargetIdNetworkLogRequestIdBodyGet'],
|
|
2426
|
+
},
|
|
2427
|
+
},
|
|
2428
|
+
},
|
|
2429
|
+
{
|
|
2430
|
+
displayName: 'Additional Fields',
|
|
2431
|
+
name: 'additionalFields',
|
|
2432
|
+
type: 'collection',
|
|
2433
|
+
placeholder: 'Add Field',
|
|
2434
|
+
default: {},
|
|
2435
|
+
displayOptions: {
|
|
2436
|
+
show: {
|
|
2437
|
+
resource: ['tabs'],
|
|
2438
|
+
operation: ['networkResponseBodyTabsTargetIdNetworkLogRequestIdBodyGet'],
|
|
2439
|
+
},
|
|
2440
|
+
},
|
|
2441
|
+
options: [
|
|
2442
|
+
{
|
|
2443
|
+
displayName: 'Raw',
|
|
2444
|
+
name: 'raw',
|
|
2445
|
+
type: 'boolean',
|
|
2446
|
+
default: false,
|
|
2447
|
+
description: '',
|
|
2448
|
+
routing: {
|
|
2449
|
+
send: {
|
|
2450
|
+
type: 'query',
|
|
2451
|
+
property: 'raw',
|
|
2452
|
+
},
|
|
2453
|
+
},
|
|
2454
|
+
},
|
|
2455
|
+
],
|
|
2456
|
+
},
|
|
2389
2457
|
{
|
|
2390
2458
|
displayName: 'Target Id',
|
|
2391
2459
|
name: 'targetId',
|
package/dist/icon.svg
CHANGED
|
@@ -1,4 +1,51 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
2
|
+
<svg width="800px" height="800px" viewBox="0 0 1522 1522" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none">
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
package/package.json
CHANGED
package/dist/icon.png
DELETED
|
Binary file
|