कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

playwright-skill

vmercel द्वारा

Web & Frontend Development
892clawskills.sh द्वारा बताए गए डाउनलोड
1व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Complete browser automation with Playwright.

विवरण

यह स्किल क्या करती है

Playwright-based browser automation that auto-detects running dev servers, writes test scripts to /tmp, and executes them with a visible browser by default. Handles page testing, form submission, login flows, responsive design checks, and link validation. Scripts are parameterized and cleaned up automatically by the OS.

Auto-detecting dev servers eliminates hardcoded URLs, and writing scripts to /tmp keeps test code out of the project directory.

इसे कब इस्तेमाल करें

  • Testing login redirects on a local dev server
  • Checking layout across desktop, tablet, and mobile viewports
  • Finding broken external links on a web page
  • Filling and submitting forms to verify success states
  • Taking full-page screenshots before a design review

उदाहरण वर्कफ़्लो

इनपुट

User asks: 'Test if the login flow redirects correctly'

एजेंट
  1. 1

    Runs detectDevServers() to find the active local server

  2. 2

    Asks user to confirm which server to test if multiple are found

  3. 3

    Writes a login automation script to /tmp/playwright-test-login.js with the detected URL as a constant

  4. 4

    Executes the script via node run.js from the skill directory

  5. 5

    Reports the redirect outcome and any console errors

आउटपुट

Login flow confirmed: form submission redirects to /dashboard

इंस्टॉलेशन

clawhub install vmercel/playwright-skill

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक