Skip to main content
Extract all form fields with metadata from the current page.
fields = await page.extract_form_fields()
# Returns list of dicts with field name, type, options, etc.

Returns list[dict[str, Any]]

Each dict contains field name, type, options, and other metadata.