This is my first time here but I have already posted this question on SO. I keep getting solutions for Windows + Java and not for Linux or python for that matter.
I am using Selenium and Python to automate a file upload application for the past many hours but nothing helpful!
The HTML DOM structure for this file upload is an input
tag with its type attribute value = 'file'
. I know I can make use of the send_keys
.
The problem is I am not supposed to use send_keys()
(as per the question I am trying to solve). The assumption is there are other ways of doing it.
Can anyone suggest me alternative ways to upload the file? I do get solutions for windows but not for Linux(Ubuntu). I know there are applications/tools to automate GUI components like AutoIt
but there is nothing for Linux close to AutoIt
.
I can say I have done my homework to find a solution. Only after not finding anything useful, I am asking this question, please help!