Takaisin Browser -kohtaan
Yhdistä Knoon AI kohteen Browser (System) kanssa automatisoidaksesi AI-työnkulut.
Get a public web page HTML plus desktop and mobile screenshots through the browser.
systemBrowserGetSnapshot
BETA
Sisäinen
Oikeudet
Näytettävää kohdetta ei ole.
Valinnaiset oikeudet
Näytettävää kohdetta ei ole.
Parametrit
| Nimi | Tyyppi | Kuvaus | Pakollinen |
|---|---|---|---|
| url | mustache | Public http or https URL to open. | Kyllä |
| snapshotMode | string | Choose what to return from the browser sandbox: screenshots only, HTML only, markdown only, screenshots plus markdown, or screenshots plus HTML. | Ei |
| waitUntil | string | Browser waitUntil value: load, domcontentloaded, networkidle0, or networkidle2. Defaults to domcontentloaded. | Ei |
| waitForSelector | mustache | Optional CSS selector to wait for before capturing. | Ei |
| delayMs | number | Optional delay in milliseconds after page load before capturing. Maximum 29000. | Ei |
| timeoutMs | number | Optional navigation timeout in milliseconds. Maximum 30000. | Ei |
Palautukset
| Nimi | Tyyppi | Kuvaus |
|---|---|---|
| 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. |