I am using Python Selenium to scrape a webpage and am having difficulty finding the elements of interest. There are a large number of elements of interest on just one page and, ideally, I would like to extract all of them as strings in an array. The HTML code looks like this (the light blue highlighted portion is one of many elements I need to find):
So far, I have tried statements like these:
The first one returns an empty object. The second one returns unexpected results:
Any assistance is appreciated.



WebElementobjects, what you see is theto_string()representation. Do you want their text? an attribute? something else?