在python selenium中使用xpath contains定位,代码片段如下: driver.find_element_by_xpath("//div/a[contains(text(), 新闻)]") ...
確定! 回上一頁