Files

Upload targets of every common shape, and downloads served with Content-Disposition: attachment. Nothing is sent anywhere: the page only reads file names and sizes.

FIL-01Single file input

Upload one file with mode input.

ExpectFIL-01 single: <name> (<bytes> B).

FIL-02Multiple files, hidden input

The real input is hidden behind a styled button, as on most sites. page_file_inputs still lists it.

ExpectThe input is listed with visible:false; uploading two files logs FIL-02 photos: a, b.

FIL-03Chooser button

Use page_choose_files on Choose report: it clicks the button and fills the native chooser that opens.

ExpectFIL-03 report: <name>; no native dialog stays open.

FIL-04Drop zone

Upload with mode drop onto the zone. The page cancels the drop to accept it.

ExpectResult accepted:true; log FIL-04 dropped: <names>.

Drop files here

FIL-05File System Access picker

showOpenFilePicker() has no input element, so typed uploads cannot fill it.

Expectpage_choose_files returns unsupported.

FIL-06Downloads

Each link downloads a small text file. In the same session, downloads_list shows it and downloads_fetch returns its bytes.

Expectrange-sample.txt is 62 bytes and starts with Browser test range sample file; range-table.csv has 4 lines.