Can i use Xpath for list of elements to get list of names instead of javascript?
For example, In IMDB if we say:
"$x('//tbody//tr[1]//td[2]/a/text()')"
using chrome browser , we get first movie title.
If i really want 250 movie titles , should i go some javascript and iterate over all elements ., or is there any solution to get all movie titles with only XPATH it self ?
No comments:
Post a Comment