vibium pipe
Start vibium in pipe mode where protocol messages are exchanged.
Synopsis
Section titled “Synopsis”vibium pipe [flags] --connect string Connect to a remote BiDi WebSocket URL instead of launching a local browser --connect-caps string Extra alwaysMatch capabilities for classic WebDriver endpoints (JSON object) --connect-header stringArray HTTP header for WebSocket connect (repeatable, format: "Key: Value") --no-browser Start the existing pipe runtime for read-only archive commands without installing or launching a browserNew in nightly (not yet in the npm release): --connect-caps, --no-browser
Examples
Section titled “Examples”{ echo '{"id":1,"method":"vibium:browser.page","params":{}}'; cat; } | vibium pipe --headless# Drive the protocol by hand; Ctrl-C when done. cat holds stdin open past# the browser launch. A bare echo closes it first and the command comes# back {"type":"error","message":"connection closed"}.
# Read-only archive commands, no browser startupvibium pipe --no-browser
# Connect to a remote browservibium pipe --connect ws://remote:9515
# Connect with auth headervibium pipe --connect wss://cloud.example.com/bidi --connect-header "Authorization: Bearer token"
# Classic WebDriver endpoint (Selenium Grid, cloud grid): vibium creates# a session with webSocketUrl:true and connects to the BiDi URL it returnsvibium pipe --connect https://USER:KEY@grid.example.com/wd/hub \ --connect-caps '{"vendor:options":{"someOption":"value"}}'