How do I upload the image in this case

1

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()
    
asked by anonymous 12.08.2017 / 17:36

0 answers