Skills for cmux terminal integration: browser automation for visual verification, debug windows, markdown viewer, and core topology control. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
12 lines
360 B
Bash
Executable file
12 lines
360 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
URL="${1:-https://example.com/form}"
|
|
SURFACE="${2:-surface:1}"
|
|
|
|
cmux browser "$SURFACE" goto "$URL"
|
|
cmux browser "$SURFACE" get url
|
|
cmux browser "$SURFACE" wait --load-state complete --timeout-ms 15000
|
|
cmux browser "$SURFACE" snapshot --interactive
|
|
|
|
echo "Now run fill/click commands using refs from the snapshot above."
|