Xpath expression to find values that start with September 9, 2023 by Tarik I think this xpath should work //id[starts-with(text(),'Annotations')]