I was trying to upload csv using setInputFiles command but getting a type error as Execution completed
Code:
const fileInput = import page.$(“locator”);
fileInput.setInputFiles(‘path of file’);
Output:
Uncaught (in promise) TypeError: Object has no member ‘setInputFiles’
I am using k6 version 0.52.
2 posts - 2 participants