How do I upload the image in this case

Asked

Viewed 162 times

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 is the instruction of find_elemento.

I ask someone to try to upload to this particular site and tell me how you managed to successfully upload 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()
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.