Each time I try to upload the image either by disk or by a link on the internet I get error in the line where the find_elemento
statement is.
I ask someone to try uploading to this particular site and tell me how you successfully uploaded the image.
Here is my code:
def upload():
driver.get('https://www.custojusto.pt/ai/form/0')
#time.sleep(10)
driver.find_element_by_name('image').send_keys("https://images-na.ssl-images-amazon.com/images/I/41pzTMUV7AL._SY300_.jpg")
if __name__ == '__main__':
upload()