I am not able to upload an image using pythons Selenium:
driver.find_element_by_xpath('//*[@id="uploadButton"]').send_keys("image_path")
An this:
>Solution :
To upload file with Selenium like you trying to do you should use //input[@type="file"] element.
So please try this, it should work:
driver.find_element_by_xpath('//input[@type="file"]').send_keys("image_path")


