如何用python定位button,除去xpath这种方法 代码如下
收起
import timefrom selenium import webdriverfrom selenium.webdriver.common.by import By
driver.find_element(By.ID, "toolbar-search-input")
报告相同问题?