Xpath Negative indexing and slicing in Xpath In Python, you could do list[-1] to get the last element. So, how do you do it inXPATH? Say, I want to get the last link in the navigation that is made