Skillpedia
الاختبار81k · #1581

browser-replay

ما الذي تفعله

تعيد هذه المهارة تشغيل مسار متصفح مسجل على الصفحة نفسها أو على نسخة معدلة منها. وهي موجهة للمختبرين والمطورين الذين يريدون التأكد من أن التدفق ما يزال يعمل بعد تحديث.

متى تستخدمها

  • ✓عندما تريد إعادة فحص تدفق واجهة بعد النشر.
  • ✓عندما تحتاج إلى إعادة إنتاج خطأ من جلسة مسجلة سابقة.
  • ✓عندما تريد مقارنة تشغيلين للتدفق نفسه لمعرفة الفروقات.

رابط المهارة

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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-browser/skills/browser-replay/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“أعد تشغيل جلسة الدفع من الأسبوع الماضي على موقع التجربة، وأخبرني أين تفشل.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يحمّل وكيلك الخطوات المسجلة، ويفتح متصفحاً جديداً، ويكرر كل إجراء بالترتيب، ويتعامل مع تغيّر المحددات بالبحث عن عناصر مشابهة.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Browser Replay

Re-drive a recorded session trajectory. Used for regression testing, deterministic re-runs, and as the verification path that browser-record plus browser-selectors actually produces something replayable.

This skill is the load-bearing assumption of the v0.2.0 architecture. ADR-0001 Verification §4 requires ≥80% replay success across 10 distinct sites of varying drift profiles before the proposal moves from Proposed → Accepted. If you find replay unreliable, capture the failure modes in findings.md and report them up the ADR.

When to use

  • Regression-testing a UI flow after a deploy.
  • Reproducing a bug captured in a prior session.
  • Comparing two runs of the same flow for browser-screenshot-diff.
  • Forking a session (/ruflo-browser fork) and replaying the parent before mutating.

Steps

  1. Locate the source session:
    npx -y ruvector@0.2.27 rvf status <session-id>.rvf
    
  2. Load the trajectory:
    Read .../trajectory.ndjson
    
    Each line is {ts, action, args, selector, result}.
  3. Open a fresh browser via mcp__plugin_ruflo-core_ruflo__browser_open (target URL = original or --url override).
  4. For each trajectory step, dispatch the matching MCP tool (browser_click, browser_fill, browser_eval, etc.) with the recorded args.
  5. On selector miss, do not fail immediately — query the browser-selectors namespace for an embedding-similar selector for the same <host>:<intent> and retry once:
    npx -y @claude-flow/cli@latest memory search --namespace browser-selectors \
      --query "<host> <intent>" --limit 5
    
  6. Record a new trajectory for the replay run (allocate a fresh RVF container, lineage-tracked via rvf derive).
  7. Verdict: tally matched-step / total-step ratio. Default tolerance threshold is 0.85 (configurable via --tolerance). Verdict goes into findings.md.

Caveats

  • Browserbase explicitly does not offer replay (rrweb session replay was deprecated). We're betting on selector-embedding recovery; expect noise on heavily drifted sites.
  • Network nondeterminism (timing, content variation) can produce false-fail verdicts. Use --mutate to inject expected variation or pin to a fixture.
  • For visual diff, chain into browser-screenshot-diff against the parent session id.
  • If selector recovery requires more than one retry per step, log it. That's the signal that the site needs a re-record, not a replay.
الأسئلة الشائعة

ماذا لو لم يعد المحدد يطابق العنصر؟

تقول المهارة إنها لا تفشل فوراً، بل تحاول الاسترداد باستخدام عناصر مشابهة.

هل أستطيع إعادة التشغيل على رابط معدّل؟

نعم. تسمح المهارة باستبدال الرابط لإعادة التشغيل على نسخة مختلفة.

هل إعادة التشغيل موثوقة؟

تقول المهارة إن طريقة إعادة التشغيل ما تزال قيد التحقق، لذلك سجّل حالات الفشل التي تجدها.

التفاصيل

الوصف الأصلي من المؤلف

Replay a recorded session trajectory against the same URL or a mutated variant; uses browser-selectors embedding similarity to recover from DOM drift

repo: ruvnet/ruflo

الشعبية

نجوم GitHub
81k
الترتيب
#1581
الترخيص
MIT
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة