我想在里面接一個li,上面有一段span:<li><span>Text here</span></li>我試圖用XPath做到這一點://span[text()="Text here"]/preceding::li但是不起作用 查看完整描述