← ClaudeAtlas

flowmux-browserlisted

Drive the in-app browser pane that ships with flowmux. Use when you need to open URLs, take page snapshots, or interact with web pages from inside a flowmux terminal pane — instead of spawning Playwright / Puppeteer / a system Chromium.
flowmux-ai/flowmux-terminal · ★ 10 · Web & Frontend · score 76
Install: claude install-skill flowmux-ai/flowmux-terminal
# flowmux browser automation If you are running in a terminal that flowmux spawned (the `FLOWMUX_PANE_ID` env var is set), prefer the in-app browser for any read / interact-with-a-page task. The browser pane lives next to the terminal you are in, so the user can see what you do. ## Detect ```bash FLOWMUX_CLI="${FLOWMUX_BUNDLED_CLI_PATH:-flowmux}" [ -n "${FLOWMUX_PANE_ID:-}" ] && echo "inside flowmux" ``` When this is true, use the workflow below. When it is false, the agent is not inside a flowmux PTY — fall back to whatever the user expects (curl / Playwright / etc.) unless the user supplied an explicit pane. ## Standard loop ```bash # Open. If a browser pane already exists to the right, the URL is # added there as a tab; otherwise flowmux splits the source pane. PANE=$("$FLOWMUX_CLI" --json browser open https://example.com \ | jq -r '.browser_pane_opened.pane') # A new WebView starts at about:blank, so first wait for the requested URL, # then for that document to finish before taking refs from it. "$FLOWMUX_CLI" browser wait pane:$PANE --url example.com "$FLOWMUX_CLI" browser wait pane:$PANE --ready-state complete # Each wait prints true on success and false on timeout. Do not continue # to snapshot or act when it prints false. # Take an interactive snapshot. Returns a Markdown tree with `eN` # refs, plus a refs map carrying selectors. The DOM stays untouched. "$FLOWMUX_CLI" browser snapshot pane:$PANE # Act using ref tokens. "$FLOWMUX_CLI" browser click pane:$PA