E
E
estry2021-02-04 08:23:58
XPath
estry, 2021-02-04 08:23:58

How to get an XPATH element by its topInTab?

Hello.
There are elements on the page //div[contains (@class, 'name')]
How to get elements only those whose topInTab attribute is greater than zero?
Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DevMan, 2021-02-04
@estry

//div[contains (@class, 'name') and @topInTab > 0]

S
sergey, 2021-02-04
kuzmin @sergueik

what an unusual task you were given...
internetka.in.ua/xpath-start-part3
https://www.w3schools.com/xml/xpath_operators.asp
if it helped - mark as a solution

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question