xpath get href of link

how to get a link by xpath?

//a[text()='text_i_want_to_find']/@href"

this is an example.

评论

热门帖子