I have to download some file with selenium and I stuck on firefox download display.
I cannot change any of setting in selenium-webdriver
, so i have to send arrow_down and enter to download display:
How should I do that?
Not sure that code matters but:
def save_file(self):
save_button = "save-file"
send_button = "confirm"
time.sleep(5)
self.wait_for_visibility((By.ID, save_button))
self.click_button(save_button)
self.click_button(send_button)
It's two steps download procedure. 1st step: click button "save"
2nd step: after first step there is additional confirmation.
language is of course python