n8n-nodes-smart-browser-automation 1.4.0 → 1.5.0
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.
|
@@ -67,6 +67,7 @@ class BrowserSessionManager {
|
|
|
67
67
|
this.config = { mcpEndpoint, cdpEndpoint };
|
|
68
68
|
// Fetch available tools from MCP server
|
|
69
69
|
const toolsResponse = await this.mcpClient.listTools();
|
|
70
|
+
await this.mcpClient.callTool({ name: 'browser_connect_cdp', arguments: { cdpEndpoint: cdpEndpoint || '' } });
|
|
70
71
|
this.tools = toolsResponse.tools;
|
|
71
72
|
return this.tools;
|
|
72
73
|
}
|
|
@@ -41,6 +41,12 @@ class SmartBrowserAutomation {
|
|
|
41
41
|
type: 'options',
|
|
42
42
|
noDataExpression: true,
|
|
43
43
|
options: [
|
|
44
|
+
{
|
|
45
|
+
name: 'All Tools',
|
|
46
|
+
value: 'listTools',
|
|
47
|
+
description: 'Get all available browser tools from MCP server',
|
|
48
|
+
action: 'List all browser tools',
|
|
49
|
+
},
|
|
44
50
|
{
|
|
45
51
|
name: 'Click',
|
|
46
52
|
value: 'browser_click',
|
|
@@ -53,12 +59,6 @@ class SmartBrowserAutomation {
|
|
|
53
59
|
description: 'Connect to browser via CDP',
|
|
54
60
|
action: 'Connect to browser via CDP',
|
|
55
61
|
},
|
|
56
|
-
{
|
|
57
|
-
name: 'List All Tools',
|
|
58
|
-
value: 'listTools',
|
|
59
|
-
description: 'Get all available browser tools from MCP server',
|
|
60
|
-
action: 'List all browser tools',
|
|
61
|
-
},
|
|
62
62
|
{
|
|
63
63
|
name: 'Navigate',
|
|
64
64
|
value: 'browser_navigate',
|