browserbase.uploadSessionFile uploads a file for a browser file input in a running session. Inputs accept literal values or compatible signals. An optional second argument { account } selects a named Browserbase binding.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Upload a file for a browser file input in a running session.
browserbase.uploadSessionFile uploads a file for a browser file input in a running session. Inputs accept literal values or compatible signals. An optional second argument { account } selects a named Browserbase binding.
import { automation, onInvocation } from "automate.ax"
import { browserbase } from "automate.ax/browserbase"
export default automation("Upload Browserbase session file", () => {
onInvocation()
browserbase.uploadSessionFile({
file: new Blob(["hello"], { type: "text/plain" }),
filename: "hello.txt",
sessionId: "session-id",
})
})
| Input | Type | Required | Default | Description |
|---|---|---|---|---|
sessionId | string | Yes | — | Running session ID. |
file | Blob | Yes | — | File bytes. |
filename | string | Yes | — | Filename, up to 255 characters. |