Browserbase Functions hosts the code controlling a browser alongside its managed browser service. Its design account addresses a remaining burden for automation teams: operating separate workers to run scripts, even after outsourcing the browser itself.
A FunctionA named block of instructions that takes inputs, called arguments, and hands back a result, called its return value.Full definition → keeps a stable identity while each deployment stores an immutable code version. Publishing a new version leaves production traffic unchanged until an explicit promotion, so teams can test it first or restore an older version. Each execution is tied to its deployment and browser SessionOne conversation or piece of work as a harness keeps it: a record of messages, tool calls and observations that can be saved and resumed.Full definition →, making failures traceable. StateInformation describing a system at a particular moment, such as its current text, settings or saved records.Full definition → can persist during a run, but Functions does not preserve it between separate invocations.
Terms in this piece · Glossary
Function — A named block of instructions that takes inputs, called arguments, and hands back a result, called its return value.
Session — One conversation or piece of work as a harness keeps it: a record of messages, tool calls and observations that can be saved and resumed.
State — Information describing a system at a particular moment, such as its current text, settings or saved records.
Latency — The time between asking for a result and having it, including the model's generation time, tool calls, retries and any queueing.