본문으로 건너뛰기
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 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크