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.
bap open
bap open https://example.com
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.
bap goto https://example.com
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.
bap back

forward

Navigate forward in browser history.
bap forward

reload

Reload the current page.
bap reload

close

Close the current browser session.
bap close

close-all

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