Answer the question
In order to leave comments, you need to log in
Xpath in css selector, how will it be correct in my case?
//div[.='Как вам новая Почта?']/parent::*/parent::*
Answer the question
In order to leave comments, you need to log in
You can't turn this into a CSS selector. CSS does not allow getting the parents of an element, much less comparing the content of an element with a string.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question