setValue
Input types whose value can't be typed: a range input ignores key strokes,
and date and time inputs split their value into segments that typing fills
in the browser's locale order, so "2026-10-04" ends up as "61004-02-02".
setValue sets their value like the browser's own picker does instead.
Usage​
await $(selector).setValue()