18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
Is there a way to Upload Files on a Browser without the "input type=file"?
I'm testing a website for a company. A particular page only allows drag and drop of files in order to upload. There is no input with type="file" on the page.
I'm unsure if I can use windows apis as that would require me to set the mode to "windows", but what I'm testing is on a browser.
Comments
Hi Karlov,
Can you please try with the below API and check if that helps?
_dropFile() will help you to upload the file as your requirement.
https://resources.sahipro.com/docs/sahi-apis/action-apis.html#_dropFile
If this doesn't work, please let us know your convenient time for the meeting. You can send the details of your application to support@sahipro.com
This worked! Thank you