Langsung ke konten
Skillpedia
Testing14k · #11245

agent-browser

Fungsinya

Skill ini memakai alat baris perintah agent-browser untuk membuka halaman web, menjalankan aksi, dan memeriksa apa yang ditampilkan. Untuk orang yang perlu memastikan sebuah situs bekerja seperti yang dialami pengguna.

Kapan dipakai

  • ✓Saat Anda ingin memeriksa bahwa sebuah halaman web atau layar admin berperilaku benar di browser sungguhan.
  • ✓Saat Anda membutuhkan tangkapan layar sebagai bukti tampilan halaman setelah suatu aksi.
  • ✓Saat Anda ingin memastikan halaman menampilkan hasil yang diharapkan setelah klik atau pengiriman formulir.

Link skill

https://github.com/emdash-cms/emdash/blob/main/skills/agent-browser/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/emdash-cms/emdash/blob/main/skills/agent-browser/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Bisakah Anda membuka halaman login situs saya di browser, masuk, dan mengambil tangkapan layar dashboard?”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent membuka halaman dalam sesi browser bernama, membaca struktur halaman, menjalankan aksi, lalu memeriksa keadaan baru dan error konsol apa pun. Agent dapat mengambil tangkapan layar di sepanjang jalan.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Test interfaces with agent-browser

Use the installed agent-browser CLI for rendered, user-facing verification. Load its version-matched instructions before relying on command syntax:

agent-browser skills get core --full

Use a specialized bundled guide when the target requires one. agent-browser skills list shows the available guides.

Verification loop

  1. Start or identify the target application and record the exact URL and viewport.
  2. Open the page in a named session.
  3. Take an accessibility snapshot and identify controls by role, label, or snapshot reference.
  4. Perform the user action.
  5. Wait for the resulting state, then take a fresh snapshot. References can become stale after navigation or a substantial DOM update.
  6. Verify the observable result, console errors, and relevant network behavior.
  7. Capture screenshots when visual evidence helps establish the result.

For EmDash admin testing, authenticate through the development bypass rather than attempting to automate passkeys:

agent-browser open 'http://localhost:4321/_emdash/api/setup/dev-bypass?redirect=/_emdash/admin'

Use auth/dev-bypass instead when setup is already complete.

Interaction guidance

  • Prefer role and label locators when they express the user-facing control clearly. Use snapshot references for efficient exploration.
  • Re-snapshot after a dialog opens, a route changes, or content is replaced.
  • Wait for a selector or visible state instead of adding a fixed delay unless timing itself is under test.
  • Use a named session for flows that depend on cookies or storage. Close sessions that are no longer needed.
  • Check agent-browser console and agent-browser errors when the UI behaves unexpectedly.
  • Use agent-browser network requests when the result depends on a request or response boundary.

Evidence

Record the path tested, inputs, viewport, expected result, actual result, and any console or request failures. For UI changes, capture before-and-after screenshots of every affected screen.

Save screenshots inside the task workspace with descriptive filenames. Inspect the saved image before reporting success; a completed screenshot command does not prove that the intended state was visible.

Browser exploration does not replace a regression test when stable automated coverage can protect the behavior. Convert a confirmed defect into the narrowest meaningful automated test when the task includes implementation.

Pertanyaan umum

Apakah menggantikan tes otomatis?

Tidak. Jika diperlukan tes regresi yang dapat diulang, rangkaian tes deterministik adalah pilihan yang lebih baik.

Bagaimana agent menemukan tombol di halaman?

Agent membaca informasi aksesibilitas halaman, memakai label dan peran untuk menemukan kontrol.

Apakah bisa menampilkan error?

Bisa. Agent memeriksa error konsol dan perilaku jaringan yang relevan sebagai bagian dari verifikasi.

Detail

Deskripsi asli dari pembuat

Use the agent-browser CLI to exercise web interfaces, inspect rendered accessibility state, verify interactions, and capture screenshots. Use for browser-based UI testing and evidence collection. Do not use as a substitute for deterministic Playwright coverage when an automated regression test is the requested deliverable.

repo: emdash-cms/emdash

Popularitas

Bintang GitHub
14k
Peringkat
#11245
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa