fill_matrix
Answer matrix/grid questions row by row with controlled delays to prevent React batching issues, then verify the completed result. Select column, rows, and skip already answered cells.
Instructions
Answer a matrix/grid question one row at a time, then verify the result.
Rows are clicked in separate JavaScript tasks with a delay between them. Clicking them in a loop instead makes React batch the updates and commit only the last row, leaving the rest blank and the page stuck failing validation.
Args: tab_id: Exact tab id. url_pattern: Regex matched against tab URLs. selector: Override the matrix container selector. question_index: Which matrix question, as numbered by scan_matrix. column_index: Which answer column to pick. Negative counts from the right, so -1 is the last column. rows: Specific row indices. Defaults to whichever rows need answering. only_unanswered: Skip rows that already have an answer. delay_ms: Delay between rows. Raise it to 150-250 if rows stay blank.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | ||
| tab_id | No | ||
| delay_ms | No | ||
| selector | No | ||
| url_pattern | No | ||
| column_index | No | ||
| question_index | No | ||
| only_unanswered | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |