Tilbage til Browser
Forbind Knoon AI med Browser (System) for at automatisere AI-arbejdsgange.
Get a public web page HTML plus desktop and mobile screenshots through the browser.
systemBrowserGetSnapshot
BETA
Internt
Tilladelser
Der er ingen elementer at vise.
Valgfrie tilladelser
Der er ingen elementer at vise.
Parametre
| Navn | Type | Beskrivelse | Obligatorisk |
|---|---|---|---|
| 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. | Nej |
| waitUntil | string | Browser waitUntil value: load, domcontentloaded, networkidle0, or networkidle2. Defaults to domcontentloaded. | Nej |
| waitForSelector | mustache | Optional CSS selector to wait for before capturing. | Nej |
| delayMs | number | Optional delay in milliseconds after page load before capturing. Maximum 29000. | Nej |
| timeoutMs | number | Optional navigation timeout in milliseconds. Maximum 30000. | Nej |
Retur
| Navn | Type | Beskrivelse |
|---|---|---|
| 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. |
| markdownSnippet | string | Markdown snippet linking to the requested HTML and screenshot attachments. |
| screenshotExt | string | Screenshot extension. |