python selenium select ul li code example
Example: how to select li element in selenium python
You need to use the .find_elements_by_ method.
For example,
html_list = self.driver.find_element_by_id("myId")
items = html_list.find_elements_by_tag_name("li")
for item in items:
text = item.text
print text