All four actions need a
chromium integration. See Configuration Reference for setup details.chromium/navigate
Navigates the browser to a URL.Browser
The Chromium session to drive.URL
The address to open.Output
{{ .step_id }} is an object:
Example
chromium/click
Clicks an element on the current page using a CSS selector.Browser
The Chromium session to drive.Selector
The CSS selector of the element to click.
For example
#submit-button, .my-class, or button[type='submit'].
Output
{{ .step_id }} is an object:
Example
chromium/body
Gets the rendered body HTML of the current page.Browser
The Chromium session to drive.Output
{{ .step_id }} holds the page’s rendered HTML.
Example
chromium/screenshot
Takes a full-page screenshot and returns it as a PNG.Browser
The Chromium session to drive.Output
{{ .step_id }} holds the screenshot as PNG bytes. It is a file, not text, so pass it to a step that takes a file — download to save it, or an agent’s fileUpload to show it to a model.
Example
Capture a page and save it to the workspace:Common Patterns
Scrape a JavaScript-Rendered Page
Open the page, expand it, then read the rendered HTML:Next Steps
HTTP Requests
Fetch a page without a browser when JavaScript isn’t needed.
System
Save captured files to the workspace.
Transformation
Parse scraped HTML with JavaScript.
Actions Overview
Learn the fundamentals of ServFlow actions.