Homexpath获取a的href值的方法 xpath获取a的href值的方法 15 11 月, 202029 11 月, 2020 Black /li/a/@herf 这样取的应该是href的内容 /li/a/text() 这样取得是text内容