使用string()函数把div节点中的内容全部转换为文本,再contains不就可以了。 比如 //div[contains(string(), 'Blog')]
111,097
社区成员
642,554
社区内容
加载中
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧