browserbase.createContext creates reusable browser storage for cookies and authentication. 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.
Create reusable browser storage for cookies and authentication.
browserbase.createContext creates reusable browser storage for cookies and authentication. 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("Create Browserbase context", () => {
onInvocation()
browserbase.createContext({ name: "Signed in" })
})
| Input | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | No | None | Context name, up to 128 characters. |
projectId | string | No | API-key project | Project override. |