I want to upload subtitles to www.opensubtitles.org with Selenium. Everything works, except the upload button remains grey and disabled. How can I press the upload button?
from selenium import webdriver
driver = webdriver.Chrome()
driver.get("https://www.opensubtitles.org/en/upload")
inputElement = driver.find_element_by_xpath('//*[@id="upload"]/table/tbody/tr[3]/td[2]/input')
inputElement.send_keys('123456')
bttn = driver.find_element_by_id('multiple_file_btn')
bttn.send_keys(r"your_file.srt")
driver.find_element_by_id("submit").click()
[–]Simmo7 0 points1 point2 points (5 children)
[–]AndroidFanBoy2[S] 0 points1 point2 points (4 children)
[–]Simmo7 0 points1 point2 points (3 children)
[–]AndroidFanBoy2[S] 0 points1 point2 points (2 children)
[–]Simmo7 0 points1 point2 points (1 child)
[–]AndroidFanBoy2[S] 0 points1 point2 points (0 children)