Open robingustafsson opened 2 years ago
hi k6 team,
would be glad to have this feature to support 'file upload' for .csv file, etc. and/or through [page.setInputFiles(selector, files[, options])]
(https://playwright.dev/docs/api/class-page#page-set-input-files) method.
Sample scenario: User uploads file as a mandatory field Given user must upload a file to proceed to next step. When he clicks on 'choose file' button and selects a file. Then the file should be successfully upload And user should be able to proceed to next step
looking forward on the implementation if time permits, thanks a lot.
Thanks, @marksangual; we will consider this depending on our priorities.
Thanks a lot @inancgumus for your kind consideration.
+1
Add support for
FileChooser
, handling of file uploads in the browser. This should be made compatible with bothArrayBuffer
based data as well ashttp.file(...)
.Relevant links: