I am having trouble with a web scraping function. The XPath for the two things I am trying to get are The html is I am trying to have a function to loop through each li in tr[5]. The problem I am having is getting the text(). I have tried a number of different variations of this function This specific