Skip to main content

remote-playwright

Deploy and connect to a remote Playwright browser on an OpenShift cluster. Sets up a Playwright run-server pod, port-forwarding, and @playwright/cli for interactive browser automation (goto, click, snapshot, screenshot, video recording). Use when you need a remote browser for E2E interaction or visual verification on a cluster.

소스 정보

저장소
quay/ai-helpers
최근 소스 활동
2026년 5월 5일 17:01
감지된 SKILL.md 언어
영어
스타
3
포크
11

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
remote-playwright
description
Deploy and connect to a remote Playwright browser on an OpenShift cluster. Sets up a Playwright run-server pod, port-forwarding, and @playwright/cli for interactive browser automation (goto, click, snapshot, screenshot, video recording). Use when you need a remote browser for E2E interaction or visual verification on a cluster.
argument-hint
[KUBECONFIG_PATH] [NAMESPACE]
allowed-tools
["Bash(bash .claude/scripts/remote-playwright.sh *)","Bash(npx @playwright/cli*)","Read"]
# Remote Playwright Browser Deploy and connect to a Playwright browser running on an OpenShift cluster. ## Arguments Parse `$ARGUMENTS` into at most two values before invoking Bash: - **Arg 1**: KUBECONFIG path (default: `/tmp/k`) - **Arg 2**: Namespace (default: `playwright`) ## Step 1: Deploy and Connect ```bash bash .claude/scripts/remote-playwright.sh up "$KUBECONFIG_PATH" "$NAMESPACE" ``` The script handles everything: version resolution, deployment, port-forwarding, and CLI connection. Wait for the `=== Ready ===` output. ## Step 2: Verify ```bash npx @playwright/cli goto https://example.com npx @playwright/cli snapshot npx @playwright/cli screenshot ``` ## Available Commands - `npx @playwright/cli goto <url>` — navigate - `npx @playwright/cli snapshot` — accessibility tree - `npx @playwright/cli screenshot` — save PNG - `npx @playwright/cli click <ref>` — click element by ref from snapshot - `npx @playwright/cli fill <ref> <text>` — fill input - `npx @playwright/cli video-start` / `video-stop` — record session - `npx @playwright/cli tab-list` / `tab-new` / `tab-select` — manage tabs ## Teardown ```bash bash .claude/scripts/remote-playwright.sh down "$KUBECONFIG_PATH" "$NAMESPACE" ```
GitHub에서 보기