0

I have come across solutions to handle file upload windows but unfortunately none of them talk about what APIs we have for python. Hence I thought to ask this question.

I have a web page with just a button named upload to open the file upload window. When I click on it, it opens the file upload window. I hope this is not a trivial question because I have not found good solutions over the internet which are specific to python.

1 Answer 1

0

Just emulate click on "upload" button and supply path to your file with sendkeys.

Answer on stackoverflow

1
  • None of the solutions worked for me so far... Is there a solution through javascript? Commented Aug 24, 2013 at 7:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.