Answer the question
In order to leave comments, you need to log in
How to sequentially apply a function to a list of elements with values from another list?
Hi all. The point is this. I need to insert information from the list into the inputs.
qwe = ['qwe', 'qwe', 'qwe', 'qwe', 'qwe', 'qwe']
forms = self.driver.find_elements_by_css_selector('input.form-textbox') # получаю инпуты
i = 0
for form in forms:
form.send_keys(qwe[i])
i += 1
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