I am trying to scrape a website, but I need to search for an element whose parent is like this:
//div[@title="parent"]
People are talking about getting an element from its child. Is there a way to reverse it and find the child from its parent?
I want the /span
with @title = "child"
whose parent is //div[@title = "Search results."]