termws

command
v0.60.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2026 License: Apache-2.0 Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

termws drives the web terminal's WebSocket for e2e tests — the browser side of terminal control (internal/server/terminal_control.go) without a browser. Built into the test-runner image.

termws -url ws://…/terminal/ws -cookie <ppz_session> [-origin O] STEP...

Steps run in order:

take | release          send {"type":"take"} / {"type":"release"}
send:TEXT               send TEXT followed by "\r" as a binary frame
expect:TYPE             wait ≤10s for a text frame of TYPE (control,
                        lease, control-error), skipping others, and
                        print it on one line
sleep:DUR               wait (Go duration)

Printing only what a step asks for keeps output deterministic when other clients' lease changes interleave.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL