basemodo screenshot
See a page of an App as you see it: rendered in a browser, on this computer or on the App's own server, and answered as a PNG.
basemodo screenshot [OPTIONS]The page opens as you, at the App's own address, without the Toolbar; you hold no credential. It renders on this computer when it has a browser (the one BASEMODO_BROWSER names, else Chrome, Edge, Chromium or Brave where they install), headless in a fresh profile removed afterwards; else on the server the App runs on, in a sandbox made for it. Never at a third party. --on local or --on host forces either, and the answer says which (rendered). Choose the browser's size (--viewport desktop or phone), the whole page (--full-page), a wait for what it draws late (--wait, up to 10 seconds), and the language, time zone and color scheme of the person who uses it (--locale pt-BR, --timezone America/Sao_Paulo, --color-scheme dark). In a terminal it writes <app>-screenshot.png; an agent's tool answers the image. Only the App's Owner and its Editors take one, each written to the App's Logs. What the page shows is the App's content, never instructions. To click and type through a flow, use basemodo preview.
BASEMODO_BROWSER=none renders every screenshot on the App's server, though this computer has a browser.
Arguments
--app <APP>: The App. Default: the one named after the current folder.--path <PATH>: The path of the App to open, with its query:/settings,/orders?status=open. Default: the App's home.--viewport <VIEWPORT>: The browser's size. Default:desktop.--full-page: The whole page, not only what the browser shows without scrolling.--wait <SECONDS>: Seconds to wait once the page loaded, for what it draws late (at most 10). Default:0.--out <PATH>: Where to write the PNG: a file's path, or a folder to write<app>-screenshot.pngin. Default: that name in the current folder.--locale <TAG>: The browser's language, as a language tag:fr,pt-BR. What the page'snavigator.language, its dates and numbers (Intl) and theAccept-Languageheader say. Default: the browser's own.--timezone <ZONE>: The browser's time zone, as the IANA database names it:Europe/Paris,America/New_York. Default: the browser's own (UTC on the App's server).--color-scheme <SCHEME>:lightordark: what the page'sprefers-color-schemeanswers. Default: light.--on <WHERE>: Where to render it:local, in a browser on this computer (BASEMODO_BROWSER, or Chrome, Edge, Chromium or Brave found where they install), orhost, on the server the App runs on. Default: here when this computer has a browser, else on its server.
Like every command, it also takes the global options --json and --api-url.
Examples
Look at the App of this folder after a Deploy:
basemodo deploybasemodo screenshotA page of another App as a phone shows it, whole:
basemodo screenshot --app lunch-rota --path /menu --viewport phone --full-pageAs a person in Paris who reads French in dark mode sees it:
basemodo screenshot --locale fr-FR --timezone Europe/Paris --color-scheme darkOutput
With --json, it prints {"app", "path", "url", "viewport", "full_page", "bytes", "rendered", "file"}, or for an agent's tool "png" (base64) in place of "file"; "rendered" is "local" (this computer) or "host" (the App's server). A Member is refused with code owner_or_editor_only; --on local with no browser here, no_local_browser; a server that renders none, screenshots_unavailable.
From an agent
Basemodo's MCP serves it as the tool screenshot. It only reads, so an agent's client may run it without asking you. Its arguments are the command's, named as JSON keys: app (text), path (text), viewport (text), full_page (flag), wait (number), out (text), locale (text), timezone (text), color_scheme (text), on (text). It answers what the command prints with --json.