Answer the question
In order to leave comments, you need to log in
How to add a list of variables in the contains(text()...) line?
Hello. A question such as
driver.find_elements_by_xpath("//*[contains(text(), 'Automation 1)]")'
make it possible to get data instead of Automation 1 from the list, preferably .txt Answer the question
In order to leave comments, you need to log in
On the example of Toaster
//*[@role='most_interest']//a[contains(text(), 'изнутри') or contains(text(), 'нативного')]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question