Zurück zu Browser
Verbinde Knoon AI mit Browser (System), um KI-Workflows zu automatisieren.
Get a public web page HTML plus desktop and mobile screenshots through the browser.
systemBrowserGetSnapshot
Beta
Intern
Berechtigungen
Es gibt keine Elemente zum Anzeigen.
Optionale Berechtigungen
Es gibt keine Elemente zum Anzeigen.
Parameter
| Name | Typ | Beschreibung | Erforderlich |
|---|---|---|---|
| url | mustache | Public http or https URL to open. | Ja |
| snapshotMode | string | Choose what to return from the browser sandbox: screenshots only, HTML only, markdown only, screenshots plus markdown, or screenshots plus HTML. | Nein |
| waitUntil | string | Browser waitUntil value: load, domcontentloaded, networkidle0, or networkidle2. Defaults to domcontentloaded. | Nein |
| waitForSelector | mustache | Optional CSS selector to wait for before capturing. | Nein |
| delayMs | number | Optional delay in milliseconds after page load before capturing. Maximum 29000. | Nein |
| timeoutMs | number | Optional navigation timeout in milliseconds. Maximum 30000. | Nein |
Rückgaben
| Name | Typ | Beschreibung |
|---|---|---|
| status | string | DONE. |
| finalUrl | string | Final page URL after redirects. |
| httpStatus | number | HTTP status code. |
| htmlAttachment | string | HTML attachment URL when requested. |
| markdownAttachment | string | Markdown attachment URL when requested. |
| screenshotDesktopAttachment | string | Desktop screenshot attachment URL when requested. |
| screenshotMobileAttachment | string | Mobile screenshot attachment URL when requested. |
| errorLogs.source | string | Error source: console, pageerror, requestfailed, or http_error. |
| errorLogs.message | string | Error message. |
| errorLogs.url | string | Related script, document, or resource URL when available. |
| errorLogs.status | number | HTTP status code for http_error entries when available. |
| errorLogs.resourceType | string | Browser resource type, such as image, script, stylesheet, or document, when available. |
| errorLogs.lineNumber | number | Console source line when available. |
| errorLogs.columnNumber | number | Console source column when available. |
| errorLogsTruncated | boolean | True when additional browser errors were omitted to keep the tool result bounded. |
| markdownSnippet | string | Markdown snippet linking to the requested HTML and screenshot attachments. |
| screenshotExt | string | Screenshot extension. |