Reputation: 13
I am trying to reach an element with xpath by matching the element class and the content.
let's say that this is the query for the class //span[contains(@class, "text")]
.
and this is the query for the content //span[text()[contains(., "Page")]]
.
but is there anyway i can make one query with both queries?
Upvotes: 0
Views: 692