2021年3月5日星期五

XPath relative vs absolute tests

I would like to better understand the meaning and usefulness of . before /h3. I looked for a website with a tutorial, but I couldn't find one explaining its use.

//div[./h3/a[text()='Home']]  
https://stackoverflow.com/questions/66494179/xpath-relative-vs-absolute-tests March 05, 2021 at 10:19PM

没有评论:

发表评论