What would a Selenium xpath selector be for the following HTML:
First Second Third<
You can use like this:
//li[. = "Second"]
OR
//li[contains(., "Second")]
Here, contains mean that you can match the partial text, so below one is also correct:
contains
//li[contains(., "Seco")]