🧪
ওয়েব অ্যাপ টেস্টিং

ওয়েব অ্যাপ টেস্টিং

কার্যকারিতা যাচাই করতে Playwright ব্যবহার করে স্বয়ংক্রিয় পরীক্ষার দৃশ্যপট লিখুন এবং সম্পাদন করুন।

PROMPT EXAMPLE
নিবন্ধন পৃষ্ঠাটি পরীক্ষা করতে `webapp-testing` ব্যবহার করুন।
Fast Processing
High Quality
Privacy Protected

SKILL.md Definition

Web Application Testing

To test local web applications, write native Python Playwright scripts.

Helper Scripts Available:

  • scripts/with_server.py - Manages server lifecycle (supports multiple servers)

Always run scripts with --help first to see usage. DO NOT read the source until you try running the script first and find that a customized solution is abslutely necessary. These scripts can be very large and thus pollute your context window. They exist to be called directly as black-box scripts rather than ingested into your context window.

Decision Tree: Choosing Your Approach

User task → Is it static HTML?
    ├─ Yes → Read HTML file directly to identify selectors
    │         ├─ Success → Write Playwright script using selectors
    │         └─ Fails/Incomplete → Treat as dynamic (below)
    │
    └─ No (dynamic webapp) → Is the server already running?
        ├─ No → Run: python scripts/with_server.py --help
        │        Then use the helper + write simplified Playwright script
        │
        └─ Yes → Reconnaissance-then-action:
            1. Navigate and wait for networkidle
            2. Take screenshot or inspect DOM
            3. Identify selectors from rendered state
            4. Execute actions with discovered selectors

Example: Using with_server.py

To start a server, run --help first, then use the helper:

Single server:

python scripts/with_server.py --server "npm run dev" --port 5173 -- python your_automation.py

Multiple servers (e.g., backend + frontend):

python scripts/with_server.py \
  --server "cd backend && python server.py" --port 3000 \
  --server "cd frontend && npm run dev" --port 5173 \
  -- python your_automation.py

To create an automation script, include only Playwright logic (servers are managed automatically):

from playwright.sync_api import sync_playwright

with sync_playwright() as p:
    browser = p.chromium.launch(headless=True) # Always launch chromium in headless mode
    page = browser.new_page()
    page.goto('http://localhost:5173') # Server already running and ready
    page.wait_for_load_state('networkidle') # CRITICAL: Wait for JS to execute
    # ... your automation logic
    browser.close()

Reconnaissance-Then-Action Pattern

  1. Inspect rendered DOM:

    page.screenshot(path='/tmp/inspect.png', full_page=True)
    content = page.content()
    page.locator('button').all()
    
  2. Identify selectors from inspection results

  3. Execute actions using discovered selectors

Common Pitfall

Don't inspect the DOM before waiting for networkidle on dynamic apps ✅ Do wait for page.wait_for_load_state('networkidle') before inspection

Best Practices

  • Use bundled scripts as black boxes - To accomplish a task, consider whether one of the scripts available in scripts/ can help. These scripts handle common, complex workflows reliably without cluttering the context window. Use --help to see usage, then invoke directly.
  • Use sync_playwright() for synchronous scripts
  • Always close the browser when done
  • Use descriptive selectors: text=, role=, CSS selectors, or IDs
  • Add appropriate waits: page.wait_for_selector() or page.wait_for_timeout()

Reference Files

  • examples/ - Examples showing common patterns:
    • element_discovery.py - Discovering buttons, links, and inputs on a page
    • static_html_automation.py - Using file:// URLs for local HTML
    • console_logging.py - Capturing console logs during automation

About Awesome Claude Skills

A curated list of practical Claude Skills for enhancing productivity across Claude.ai, Claude Code, and the Claude API.

What Are Claude Skills?

Claude Skills are customizable workflows that teach Claude how to perform specific tasks according to your unique requirements. Skills enable Claude to execute tasks in a repeatable, standardized manner across all Claude platforms.

Quickstart: Connect Claude to 500+ Apps

The connect-apps plugin lets Claude perform real actions - send emails, create issues, post to Slack. It handles auth and connects to 500+ apps using Composio under the hood.

  1. Install the Plugin

    claude --plugin-dir ./connect-apps-plugin
    
  2. Run Setup

    /connect-apps:setup
    

    Paste your API key when asked. (Get a free key at platform.composio.dev)

শক্তিশালী এজেন্ট স্কিল

আমাদের পেশাদার স্কিল সংগ্রহের মাধ্যমে আপনার AI-এর কার্যকারিতা বৃদ্ধি করুন।

ব্যবহারের জন্য প্রস্তুত

স্কিল সাপোর্ট করে এমন যেকোনো এজেন্ট সিস্টেমে কপি এবং পেস্ট করুন।

মডুলার ডিজাইন

জটিল এজেন্ট আচরণ তৈরি করতে 'code skills' মিক্স এবং ম্যাচ করুন।

অপ্টিমাইজড

প্রতিটি 'agent skill' উচ্চ কার্যকারিতা এবং নির্ভুলতার জন্য তৈরি করা হয়েছে।

ওপেন সোর্স

সব 'code skills' অবদান এবং কাস্টমাইজেশনের জন্য উন্মুক্ত।

ক্রস-প্ল্যাটফর্ম

বিভিন্ন LLMs এবং এজেন্ট ফ্রেমওয়ার্কের সাথে কাজ করে।

নিরাপদ এবং সুরক্ষিত

যাচাইকৃত স্কিল যা AI নিরাপত্তার সেরা অভ্যাসগুলো অনুসরণ করে।

আপনার এজেন্টদের শক্তিশালী করুন

আজই Agiskills ব্যবহার করা শুরু করুন এবং পার্থক্য দেখুন।

এখনই এক্সপ্লোর করুন

এটি কীভাবে কাজ করে

তিনটি সহজ ধাপে এজেন্ট স্কিলগুলো ব্যবহার করা শুরু করুন।

1

একটি স্কিল বেছে নিন

আমাদের সংগ্রহ থেকে আপনার প্রয়োজনীয় স্কিলটি খুঁজে বের করুন।

2

ডকুমেন্টেশন পড়ুন

স্কিলটি কীভাবে কাজ করে এবং এর সীমাবদ্ধতাগুলো বুঝুন।

3

কপি এবং ব্যবহার করুন

আপনার এজেন্ট কনফিগারেশনে সংজ্ঞাটি পেস্ট করুন।

4

টেস্ট করুন

ফলাফল যাচাই করুন এবং প্রয়োজন হলে পরিমার্জন করুন।

5

ডিপ্লয় করুন

আপনার বিশেষায়িত AI এজেন্ট চালু করুন।

ডেভেলপাররা যা বলছেন

দেখুন কেন বিশ্বজুড়ে ডেভেলপাররা Agiskills বেছে নেন।

অ্যালেক্স স্মিথ

AI ইঞ্জিনিয়ার

"Agiskills আমার AI এজেন্ট তৈরির পদ্ধতি সম্পূর্ণ বদলে দিয়েছে।"

মারিয়া গার্সিয়া

প্রোডাক্ট ম্যানেজার

"পিডিএফ বিশেষজ্ঞ স্কিলটি আমাদের জন্য জটিল ডকুমেন্ট পার্সিংয়ের সমস্যা সমাধান করেছে।"

জন ডো

ডেভেলপার

"পেশাদার এবং সুবিন্যস্ত স্কিল। আমি দৃঢ়ভাবে সুপারিশ করছি!"

সারা লি

শিল্পী

"অ্যালগরিদমিক আর্ট স্কিলটি অবিশ্বাস্যভাবে সুন্দর কোড তৈরি করে।"

চেন ওয়েই

ফ্রন্টএন্ড বিশেষজ্ঞ

"থিম ফ্যাক্টরি দ্বারা তৈরি থিমগুলো পিক্সেল-পারফেক্ট।"

রবার্ট টি.

CTO

"আমরা এখন আমাদের AI টিমের জন্য স্ট্যান্ডার্ড হিসেবে Agiskills ব্যবহার করি।"

FAQ

Agiskills সম্পর্কে আপনার যা জানা দরকার।

হ্যাঁ, সব পাবলিক স্কিল বিনামূল্যে কপি এবং ব্যবহার করা যায়।

ফিডব্যাক