Przejdź do treści
Biblioteka skilli
Programowanie · Testowanie

eve-web-ui-testing-agent-browser

/eve-web-ui-testing-agent-browser

Wspiera testowanie interfejsu webowego i automatyzację przeglądarki z agent-browser Vercel lub opakowaniem Playwright w Eve Horizon: otwieranie stron, formularze, zrzuty ekranu, ekstrakcja danych i powtarzalne kontrole w CI.

Repozytorium
eve-skillpacks ↗
Licencja
MIT
Ostatnia zmiana repozytorium
04.07.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
10
Skrypty
3
Komentarze HTML
0
Adresy URL w SKILL.md
8
Przestarzałość

Brak sygnałów. Repozytorium zmienione 04.07.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 3 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: templates/authenticated-session.sh, templates/capture-workflow.sh, templates/form-automation.sh

Co robi i kiedy

Wspiera testowanie interfejsu webowego i automatyzację przeglądarki z agent-browser Vercel lub opakowaniem Playwright w Eve Horizon: otwieranie stron, formularze, zrzuty ekranu, ekstrakcja danych i powtarzalne kontrole w CI.

Oryginalny opis (EN)

Web UI testing and browser automation. Use Vercel agent-browser for general apps, or the repo-pinned Playwright wrapper inside Eve Horizon. Use when tasks require opening pages, interacting with forms, validating UI flows, taking screenshots, extracting page data, or running repeatable browser-based checks locally or in CI.

Jak działa

  1. Install agent-browser
  2. Configure for Reliable Runs
  3. Install the Upstream Skill (Optional)
  4. Core Workflow
  5. Minimal Test Template
  6. Guardrails
  7. Eve Horizon Repo Wrapper
  8. References and Templates
Sekcje z nagłówków SKILL.md, w oryginale · 124 linii, 513 słów
Podgląd SKILL.md
---
name: eve-web-ui-testing-agent-browser
description: Web UI testing and browser automation. Use Vercel agent-browser for general apps, or the repo-pinned Playwright wrapper inside Eve Horizon. Use when tasks require opening pages, interacting with forms, validating UI flows, taking screenshots, extracting page data, or running repeatable browser-based checks locally or in CI.
---

# Web UI Testing with agent-browser

Use `agent-browser` as the default CLI for deterministic UI checks in app repos. Inside the Eve Horizon repo itself, prefer the repo-pinned Playwright wrapper (see "Eve Horizon Repo Wrapper" below).

## Install agent-browser

```bash
# macOS/Linux (recommended)
npm install -g agent-browser
agent-browser install

# Linux containers/VMs that need extra browser libs
agent-browser install --with-deps
```

Alternative install on macOS:

```bash
brew install agent-browser
agent-browser install
```

## Configure for Reliable Runs

Use isolated state for each test target:

```bash
# one session per test flow
agent-browser --session login-flow open https://example.com

# persistent auth/session state per app
agent-browser --profile ~/.agent-browser/myapp open https://example.com
```

Set environment variables for CI:

```bash
export AGENT_BROWSER_SESSION=ci
export AGENT_BROWSER_PROFILE="$PWD/.tmp/agent-browser-profile"
export AGENT_BROWSER_PROVIDER=local
```

Optional cloud providers:

- Browserbase: set `AGENT_BROWSER_PROVIDER=browserbase`, `BROWSERBASE_API_KEY`, `BROWSERBASE_PROJECT_ID`
- Browser Use: set `AGENT_BROWSER_PROVIDER=browseruse`, `BROWSER_USE_API_KEY`
- Kernel: set `AGENT_BROWSER_PROVIDER=kernel`, `KERNEL_API_KEY`

For proxy testing:

```bash
export AGENT_BROWSER_PROXY="http://user:pass@proxy-host:port"
```

## Install the Upstream Skill (Optional)

If your runtime supports skill installation, add the upstream skill:

```bash
eve skill install https://github.com/vercel-labs/agent-browser
```

## Core Workflow

Run every flow in this sequence:

1. Navigate: `agent-browser open <url>`
2. Snapshot interactive refs: `agent-browser snapshot -i`
3. Interact with refs: `agent-browser click @e1`, `agent-browser fill @e2 "value"`
4. Re-snapshot after page changes: `agent-browser snapshot -i`
5. Assert output: `agent-browser get text <selector-or-ref>`
6. Capture artifacts: `agent-browser screenshot <path>`

## Minimal Test Template

```bash
agent-browser --session smoke open https://example.com/login
agent-browser --session smoke snapshot -i
agent-browser --session smoke fill @e1 "user@example.com"
agent-browser --session smoke fill @e2 "password"
agent-browser --session smoke click @e3
agent-browser --session smoke wait --url "**/dashboard"
agent-browser --session smoke screenshot ./artifacts/login-dashboard.png
agent-browser --session smoke close
```

## Guardrails

- Re-snapshot after every navigation or dynamic UI update; refs become stale.
- Prefer `snapshot -i` refs over brittle CSS selectors.
- Use `--json` for machine-readable assertions in scripts.
- Keep one session/profile per environment to avoid cross-test leakage.
- Save screenshots and logs as artifacts for failed runs.

## Eve Horizon Repo Wrapper

When working inside the Eve Horizon source repo, use the repo-pinned Playwright wrapper instead of installing `agent-browser` separately. It ships with the repo and targets the local dashboard out of the box:

```bash
./bin/eh browser install        # one-time per machine / Playwright upgrade
./bin/eh browser dashboard      # headed Chromium with Eve token injected
./bin/eh browser open <url>
./bin/eh browser codegen <url>  # capture a draft Playwright spec
./bin/eh browser screenshot <url> [file]
./bin/eh browser test -g "<name>"  # run the dashboard Playwright suite
```

Defaults: `chromium` browser, persistent profile under `tmp/playwright-browser/profile`, screenshots in `tmp/playwright-browser/screenshots`, codegen output in `tmp/playwright-browser/codegen`, dashboard URL `http://dashboard.eve.lvh.me`, API URL `http://api.eve.lvh.me`. Set `EVE_API_URL=https://api.eve.example.com` to point at staging.

`./bin/eh browser dashboard` mints a token via `eve auth token --raw` and injects it as `sessionStorage.eve_access_token`. If minting fails, run `eve auth login` first.

Escalate exploratory repros into committed Playwright specs under `apps/dashboard/e2e/` when you need assertion coverage, CI protection, or a regression suite.

## References and Templates

- Full commands: `references/commands.md`
- Ref lifecycle: `references/snapshot-refs.md`
- Session strategy: `references/session-management.md`
- Authentication flows: `references/authentication.md`
- Proxy setup: `references/proxy-support.md`
- Video capture: `references/video-recording.md`
- Reusable scripts: `templates/*.sh`
Pliki w paczce (10)
  • SKILL.md 5 KB
  • references/authentication.md 5 KB
  • references/commands.md 9 KB
  • references/proxy-support.md 5 KB
  • references/session-management.md 4 KB
  • references/snapshot-refs.md 4 KB
  • references/video-recording.md 3 KB
  • templates/authenticated-session.sh 3 KB
  • templates/capture-workflow.sh 2 KB
  • templates/form-automation.sh 2 KB

Wersje

W bazie nie ma innych skilli o nazwie eve-web-ui-testing-agent-browser.

Migawka bazy z 28.10.2026 · wersja paczki fb20bdc43e2c (skrót SHA-256 całej paczki)

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100agent-browser
    Automatyzuje strony internetowe przez CLI agent-browser: nawigacja, formularze, zrzuty ekranu, ekstrakcja danych i powtarzalne kroki QA w przeglądarce.
  • 100playwright-cli
    Automatyzuje interakcje w przeglądarce: nawigację, pracę ze stronami, wypełnianie formularzy, zrzuty ekranu, testowanie aplikacji webowych i ekstrakcję danych ze stron.
  • 100agent-browser
    Automatyzuje prawdziwą przeglądarkę przez CLI agent-browser: nawigacja, formularze, klikanie, zrzuty ekranu, ekstrakcja danych, testy eksploracyjne i QA aplikacji webowych.
  • 100agent-browser
    Pozwala agentowi AI obsługiwać strony internetowe z CLI: klikanie, formularze, zrzuty ekranu, ekstrakcja danych i testowanie aplikacji webowych.
  • 100agent-browser
    Daje agentom AI dostęp do przeglądarki z CLI: otwieranie stron, wypełnianie formularzy, klikanie, zrzuty ekranu, wyciąganie danych i testowanie aplikacji webowych.
  • 100agent-browser
    Automatyzuje przeglądarkę przez CLI agent-browser: nawigacja po stronach, formularze, klikanie, zrzuty ekranu, ekstrakcja danych i testy aplikacji webowych.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.