M
M
martensit2019-03-26 13:55:10
XPath
martensit, 2019-03-26 13:55:10

Xpath in css selector, how will it be correct in my case?

//div[.='Как вам новая Почта?']/parent::*/parent::*

what will it look like in css selector?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Bogachev, 2019-03-26
@martensit

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 question

Ask a Question

731 491 924 answers to any question