I am working on a webpage automation (using selenium webdriver in python) where I need to upload a file.
I am working on mac and tried the following approaches:
- I tried using send_keys but the same didn't work (threw following error: cannot focus element
- AutoIt doesn't work since it is MAC.
I came across java.awt.robot to get this kind of thing work but is there anything similar which is available for python.
An example will help me a lot.
Thanks in Advance!