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()