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

web-form-automation

flyingzl द्वारा

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

संक्षिप्त

Automate web form interactions including login, file upload, text input, and form submission using Playwright.

विवरण

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

Automates web form interactions using Playwright, covering login flows, file uploads, text input, and form submission. Handles session management via cookies and localStorage, and compresses images to WebP before upload for reliability.

Using pressSequentially instead of fill() and force-clicking buttons handles the event-triggering edge cases that cause silent failures in naive Playwright scripts.

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

  • Uploading images to AI video generation tools
  • Submitting data to web apps that lack an API
  • Re-authenticating and re-submitting forms with saved session cookies
  • Automating repetitive form fills across multiple records
  • Testing form behavior in headless browser environments

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

इनपुट

User asks: submit a video generation form with two images and a prompt, using a saved session

एजेंट
  1. 1

    Load session.json and apply cookies and localStorage to the browser context

  2. 2

    Navigate to the form URL and wait for the page to load

  3. 3

    Compress input images to WebP, then upload them sequentially with wait intervals

  4. 4

    Type the prompt into the textarea using pressSequentially to trigger input events

  5. 5

    Force-click the submit button and take a screenshot of the result

आउटपुट

Form submitted successfully; result.png saved showing the post-submission page state

इंस्टॉलेशन

clawhub install flyingzl/web-form-automation

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

लिंक