E
E
estry2020-07-29 11:44:03
XPath
estry, 2020-07-29 11:44:03

How to build a path to an element given its leftInTab position?

Hello.
For example, if there is an element along the path //div[@id='lof'], you must immediately specify that the leftInTab attribute of this element must not be less than 10. How to do this?
//div[@id='lof' and leftInTab > 10] - doesn't work

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Fov, 2020-07-29
@estry

//div[@id="lof" and string-length(@leftInTab) > 10]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question