Multiple File Upload using setInputFiles with k6 browser

Hello Team. First of all - thank you for the amazing product. Question: I’m trying to do a bulk file upload to the following DOM and cannot make it work.

<input accept="video/mp4,.mp4,video/webm,.webm,video/quicktime,.mov" multiple="" type="file" tabindex="-1" style="display: none;">```

The code I’m using (works on other websites but not on the one I need to test):

await page.setInputFiles('input[type=file]', {name: "Display-970x90.jpg"});

I think the problem may be the “multiple” part. Is there a workaround for this?

Hi @nickvstackadapt,

What error do you see as an error?

Hi, @bandorko, do you have a suggestion? :slight_smile:

Thanks!