Answer the question
In order to leave comments, you need to log in
Is it possible to send a link to several files to the input element using send_key?
There is a task: to upload several photos to the site.
self.driver.find_element_by_xpath('//*[@id="form-group-photo"]/div/div/div[4]/div/input').send_keys("C:\\Python37\\"+str(t)+"\\"+str(1)+".jpg")
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question