Answer the question
In order to leave comments, you need to log in
How to get page links from a list of WebElements in Selenium?
When working with Selenium, I encountered a need to get a list of links. I solved this problem with find_elements_by_xpath(), but now I can't use this list to follow the links, which are the web elements in it. .click() only works on the first link, and then the program crashes with an exception.
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