browser_set_date
Set any date input reliably, including native fields, masked text boxes, and calendar pickers, by attempting value insertion and picker navigation with verification. Use when standard fill fails or a calendar widget opens.
Instructions
Robustly set a date input — handles native , masked text inputs (e.g. MM/DD/YYYY), and calendar pickers (MUI, react-datepicker, AntD, Lexical/Meta). Tries native value-set, format-aware typing via Input.insertText, and ARIA-based picker navigation in sequence with read-back verification. Use instead of browser_fill when fill fails or for any input that opens a calendar widget.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"selector": "<selector>",
"date": "<date>"
},
"name": "browser_set_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ISO date string (YYYY-MM-DD), e.g. "2026-05-15" | |
| selector | Yes | CSS selector for the date input element | |
| skip_picker | No | If true, only try native + masked paths and skip calendar-picker navigation (default: false) |