I'm trying to upload a file to the following website: kapwing.com/subtitles
I have:
driver=webdriver.Chrome()
driver.get("https://www.kapwing.com/subtitles")
pageSource = driver.page_source
splitted = pageSource.split(" ")
variable = splitted[2119]
final_variable = variable.split('"')[1]
time.sleep(5)
print(final_variable)
driver.find_element_by_id(final_variable).send_keys("/Users/xx/Desktop/lol.mp4")
but it says ID cannot be found. I would appreciate any help.