robotframework-seleniumlibrary-java icon indicating copy to clipboard operation
robotframework-seleniumlibrary-java copied to clipboard

Upload files, using remote Selenium-hub

Open oberdeha opened this issue 4 years ago • 0 comments

Hello,

Thanks for your solution. I am currently testing it and I am getting an issue each time when I am trying to send execution of robot script to remote Selenium hub. For now it is only related to uploading of the documents. When I am executing it localy - it works fine. Error:

Valid Upload | FAIL | InvalidArgumentException: Message: invalid argument: File not found : /local_path_to_the_file/1.txt (Session info: chrome=95.0.4638.69)

File exist. Localy it is executing

java -jar robotframework-seleniumlibrary-4.0.0.0-jar-with-dependencies.jar --variable filename:1.txt temp.robot - comand for execution

When I am changing library to Selenium2Library and executing it using python robot --variable filename:1.txt temp.robot it is working localy and with remote selenium-hub as well.

Can you please advise me something?

Kind regards, Oleksandr

oberdeha avatar Nov 03 '21 12:11 oberdeha