selenium之文本匹配

--模糊匹配

//span[contains(text(),'学习')

 

--精确匹配

//span[text()=‘学习’]

posted @ 2022-11-09 15:06  八戒不爱吃西瓜  阅读(40)  评论(0)    收藏  举报