R
R
reus2017-08-15 13:37:48
XPath
reus, 2017-08-15 13:37:48

How to get the tr of a table other than the last tr using xpath?

In general, there is a table. You need to write an xpath selector that will pull out all tr ​​tables except the last one

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
roswell, 2017-08-15
@reus

tr[position() != last()]

I
Ilya, 2017-08-15
@glebovgin

//tr[position()<last()]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question