Actions10
- Agent Chat Actions
- Browser Automation Actions
- Code Execution Actions
- File Processing Actions
- Memory Operation Actions
- Tool Execution Actions
Overview
The node "Nerve Agent" provides an interface to interact with the Nerve Agent AI system, which supports multiple resources including Browser Automation. Specifically, for the Browser Automation resource and the Extract Content operation, the node automates web interactions such as navigating to a URL, performing a series of browser actions (clicking elements, typing text, extracting text, taking screenshots), and extracting content from web pages.
This is beneficial in scenarios where users want to programmatically scrape data, automate form submissions, or capture webpage screenshots without manual intervention. For example, it can be used to extract product details from e-commerce sites, automate login flows, or gather news headlines from various sources.
Properties
| Name | Meaning |
|---|---|
| URL | The web address to navigate to before performing any actions. |
| Actions | A collection of browser actions to perform sequentially on the page. Each action includes: |
| - Action Type | The type of browser interaction to perform. Options: Click, Type Text, Extract Text, Screenshot. |
| - Selector | CSS selector string identifying the target element for the action. |
| - Value | Additional value for the action, such as text to type into an input field. |
Output
The node outputs JSON data representing the results of the performed browser actions. For example, extracted text values will appear in the output JSON under relevant keys. If a screenshot action is performed, the node may output binary data representing the image captured from the webpage.
json: Contains structured data extracted from the webpage, such as text content.- Binary data (if applicable): Represents screenshots taken during the automation process.
Dependencies
- Requires access to the Nerve Agent AI system via an API key credential.
- The node depends on the Nerve Agent backend service to execute browser automation tasks.
- Proper network access to the target URLs is necessary.
- No additional local dependencies are indicated.
Troubleshooting
Common issues:
- Invalid or unreachable URL: Ensure the URL is correct and accessible.
- Incorrect CSS selectors: Verify selectors match elements on the page; otherwise, actions like click or extract will fail.
- Missing or invalid API credentials: Confirm that the API key credential is properly configured.
- Network restrictions or firewall blocking access to target websites or the Nerve Agent API.
Error messages:
- Authentication errors typically indicate missing or incorrect API credentials.
- Timeout or navigation errors suggest problems reaching the specified URL.
- Selector not found errors mean the CSS selector did not match any element on the page; revise the selector accordingly.
Links and References
- Nerve Agent Documentation (hypothetical link)
- General browser automation concepts: https://pptr.dev/ (Puppeteer)
- CSS Selectors reference: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors