selenium AttributeError: ‘WebDriver‘ object has no attribute ‘find_element_by_id‘

wd.find_element_by_id("kw")

改为

wd.find_element(By.ID,"kw")

现在没有 find_element_by_id 这个函数了

  

你可能感兴趣的:(selenium,python)