| Parameter | Type | Required | Description |
|---|---|---|---|
data | dict[str, Any] | Yes | Key-value pairs of form data to fill across all pages. |
prompt | str | No | Instruction for the AI. Defaults to "Fill out the form". |
next_button | str | No | Selector or description of the button to advance to the next page. |
max_pages | int | No | Maximum number of pages to fill. Defaults to 10. |
timeout_seconds | float | No | Timeout in seconds for the entire operation. Defaults to 300. |
int — the number of pages filled.
