Chuyển đến nội dung
Skillpedia
Kiểm thử81k · #1583

browser-test

Skill này làm gì

Skill này hướng dẫn agent kiểm thử giao diện người dùng trong trình duyệt thật, kiểm tra luồng, nội dung và tiêu đề trang, và giữ mỗi lần chạy như một bản ghi có thể phát lại. Phù hợp với lập trình viên và người kiểm thử muốn kiểm tra thay đổi frontend trong trình duyệt thật.

Khi nào nên dùng

  • ✓Khi bạn muốn xác nhận một luồng người dùng hoạt động trong trình duyệt thật.
  • ✓Khi bạn muốn một bản ghi nền để so sánh các thay đổi sau này.
  • ✓Khi một bài kiểm thử trình duyệt bị lỗi cần chạy lại mà không phải viết lại.

Liên kết skill

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-browser/skills/browser-test/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-browser/skills/browser-test/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Kiểm thử luồng đăng ký trong trình duyệt thật, kiểm tra dòng chữ chào mừng có xuất hiện không, và lưu lần chạy để tôi phát lại.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent ghi lại một phiên, thực hiện các cú bấm và nhập, chờ phần tử, kiểm tra văn bản và chi tiết trang, chụp ảnh màn hình, rồi kết thúc lần chạy với kết luận đạt hoặc không đạt.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Browser Test

Automated UI testing. Now backed by a recorded RVF session container instead of an ephemeral run, so every test produces a replayable artifact.

When to use

  • Verifying UI functionality, user flows, or that frontend changes work in a real browser.
  • Producing a baseline session that future regressions can diff against.
  • Re-running a stored test session when CI fails (no need to re-author the test).

Steps

  1. Record the test run by composing browser-record:
    • Allocates an RVF container with --kind browser-session.
    • Begins a ruvector trajectory.
  2. Drive interactions — browser_open, browser_click, browser_fill, browser_type, browser_select. Each action emits a trajectory-step.
  3. Wait for elements / network idle via browser_wait before assertions.
  4. Validate with browser_get-text / browser_get-value / browser_get-title / browser_get-url. Validation outcomes go into findings.md inside the RVF container.
  5. Screenshot before / after key interactions for visual regression. Filenames follow <step-id>.png.
  6. Snapshot the accessibility tree at navigation boundaries.
  7. End the session: trajectory-end --verdict pass|fail, rvf compact, AgentDB index in browser-sessions.
  8. (Optional) Diff against --against <prior-session-id>: invoke browser-screenshot-diff to compare the new run with a baseline.

Navigation

  • browser_back / browser_forward for history navigation
  • browser_reload to refresh the page
  • browser_scroll to scroll to elements or coordinates

What changed from v0.1.0

  • The skill no longer ends with browser_close alone — it ends with the session-end protocol.
  • Selectors discovered during the test land in browser-selectors (host:intent), so the next test can find them by embedding similarity.
  • Validation outputs pass aidefence_is_safe before any LLM-facing summary; injection-flagged content is quarantined to findings.md.
  • The same skill, used in CI, now produces an artifact that /ruflo-browser replay can re-drive.

Tips

  • Use browser_wait before assertions to handle async rendering.
  • For visual regression, save the parent session id and pass --against <id> on the next run.
  • Use browser_eval for custom JavaScript assertions — but redact any returned strings via the aidefence_is_safe gate before logging.
Câu hỏi thường gặp

Kết quả kiểm thử có được lưu không?

Có. Mỗi lần chạy được lưu thành một phiên đã ghi có thể phát lại.

Nó có so sánh với lần chạy trước không?

Có. Skill có thể so sánh lần chạy mới với phiên trước để tìm thay đổi giao diện.

Nó có cần cài trình duyệt không?

Skill điều khiển trình duyệt qua các công cụ của nó, nên các công cụ trình duyệt phải có sẵn trong thiết lập của bạn.

Chi tiết

Mô tả gốc của tác giả

UI test recipe -- composes browser-record (capture) + browser-replay (verify) so every test produces a replayable RVF artifact, not an ephemeral run

repo: ruvnet/ruflo

Độ phổ biến

Sao GitHub
81k
Vị trí xếp hạng
#1583
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự