Documentation
¶
Overview ¶
Command station-probe checks a station from outside, the way a browser would: it signs in with an API token, holds a device, connects over WebRTC through TURN only (unless told otherwise), measures what arrives, taps the screen and confirms the screenshot changed, and releases the hold. It exits non-zero on any failure, so it doubles as a smoke test for any station, including a hosted one.
station-probe -station https://host -token stk_... [-device rig_x/phone] [-t 10s] [-ice relay|all] [-tap 0.5,0.5] [-insecure]
With -bidi it is a plain WebDriver BiDi client instead: it opens the device's BiDi socket through the station (the URL the hold endpoint returns), runs session.new, session.status, browsingContext.getTree, browsingContext.captureScreenshot, a tap with input.performActions and session.end, and prints what came back. With -bidi-direct ws://roadie/session (and -bidi-direct-token for its own token) it runs the same sequence straight at the rig and compares the shapes of every answer, so the relay is shown to change nothing.