I\'m able to upload a file to a remote server using Selenium, but the file selector dialog sticks around even once the file is uploaded. The Selenium FAQ notes that, \"You c
Don't click upload button at all.
Set the filename via send_keys() and click "Go" (tested and works for me):
send_keys()
element = driver.find_element_by_id("sbi_file_upload") element.send_keys('/Path/to/file.jpeg') driver.find_element_by_css_selector('div#sbi_sb_ipt span[name=go]').click()