Skip to main content

Navigation

Commands for browser lifecycle and page navigation.

open

Open a browser, optionally navigating to a URL. This is the browser lifecycle command — use it when you specifically want to launch a browser or inspect an existing session.
For most agent-driven browsing, prefer bap goto. It reuses the active page and supports fused observation. Use bap open only for explicit browser lifecycle control.

goto

Navigate to a URL. Recommended for “open this URL” workflows.
goto auto-initializes the browser and page if none exist. You do not need to call bap open first.

back

Navigate back in browser history.

forward

Navigate forward in browser history.

reload

Reload the current page.

close

Close the current browser session.

close-all

Close all sessions and stop the background server daemon.
close-all kills the daemon process. All browser sessions across all named sessions will be terminated.