DEV Community

Discussion on: Practical Puppeteer: How to upload a file programatically

Collapse
 
sonyarianto profile image
Sony AK

Hi Chris,
Thanks, but sorry I am still don't understand your use case, do you have any sample of code or target web to do that? What do you mean by "no upload button". Basically we just target the <input type="file"> and call the uploadFile method for the file input selector. Tell me more and maybe I can help you.