python定位之xpath方法

web driver提供了八種元素定位的方法: id,  name,  class name,  tag name, link text,  partial link text,  xpath,  css selector   下面主要介紹一下xpath:   一、xpath基本定位用法   1.1 使用id定位 -- driver.find_element_by_xpath('//input[@
相關文章
相關標籤/搜索