When you execute tests on browser stack, you are actually executing on a remote grid. Everything happens via JSON over HTTP protocol. So, you can you execute any executable file on their remote machine.
Can you edit this question and update below things?
- HTML source of the page.
- Screenshot of the page.
- And your existing code using which you are uploading the image.