'How to upload file using selenium on linux machine with headless browser?
Without Send keys, i have tried with AutoIT and Robot which is not working for me.
exeCompile autoit file :
ControlFocus("Register Free at Monster India to Upload Resume and Apply Jobs Online - Google Chrome","","Intermediate D3D Window1") Sleep(2000) ControlSetText("Open","","Edit1",$CmdLine[1]) ControlClick("Open","","Button1")
AutoIT : ProcessBuilder processBuilder = new ProcessBuilder(Constants.TestAutoItScripFileUpload,Constants.TestPdfFile); processBuilder.start();
Is there any way to handle file upload on linux ?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
