In a test case is used the keyword sleep 2s
and this is obviously too slow, so i would like to replace with the wait keyword.
Thing is, that it is used for a download. So the user downloads a file and then is used the sleep 2s in order to give some time to the Robot Framework to complete the download.
But I cannot use 
wait until element is visible,
 wait until page contains, 
or wait until page contains element
because nothing changes on the page :/
Any ideas? How you handle this?
Thank you in advance!
You could use the keyword of wait until keyword succeedsand just keep repeating the next keyword you want to use until the download is done. Or you could set the implicit wait time to be higher so the webdriver waits for an implicit amount of time before it executes another keyword.
Replace sleep with wait keyword on RobotFramework