0


【Python】报错:NameError: name ‘By‘ is not defined


一、报错情况

Traceback (most recent call last):
  File "E:\PythonWorkSpace\ChatgptSidebar\Common\ChromeWebDriver.py", line 45, in <module>
    driver.find_element(By.ID,"sb_form_q").clear()
NameError: name 'By' is not defined
标签: python selenium

本文转载自: https://blog.csdn.net/qq_39720249/article/details/130037638
版权归原作者 顾三殇 所有, 如有侵权,请联系我们删除。

“【Python】报错:NameError: name ‘By‘ is not defined”的评论:

还没有评论