claude-code - 💡(How to fix) Fix Preview tool: auto-fill form fields with test data (like Chrome autofill)

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Root Cause

  • Speed: Forms are one of the most common things to test — autofill would save significant time
  • Accuracy: Reduces typos and formatting issues when filling test data manually
  • Realistic testing: Generated data (valid phone formats, real-looking addresses) catches edge cases that "test123" never will
RAW_BUFFERClick to expand / collapse

Feature Request

Problem

When testing forms in the Claude Preview tool, there is no way to auto-fill form fields with realistic test data. Currently, you have to manually type or use on each field one by one, which is tedious for forms with many inputs (e.g., registration forms, survey builders, checkout flows).

Chrome browser has built-in autofill that populates name, email, address, phone, etc. in one action. The Preview tool lacks this capability.

Proposed Solution

Add an auto-fill feature to the Preview tool that can:

  1. Detect form fields on the current page (name, email, phone, address, etc.) based on field attributes (, , , , )
  2. Fill all detected fields with realistic test data in one action
  3. Support custom profiles — allow specifying a data profile (e.g., locale, language) so test data matches the app context

Example API

Why This Matters

  • Speed: Forms are one of the most common things to test — autofill would save significant time
  • Accuracy: Reduces typos and formatting issues when filling test data manually
  • Realistic testing: Generated data (valid phone formats, real-looking addresses) catches edge cases that "test123" never will

Alternatives Considered

  • Using with JavaScript to fill forms — works but requires writing custom selectors for each form
  • Using on each field — functional but slow for large forms

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING