qq_30028037:
博主你好,请问这个报错遇到过么?有解决方案么?
Traceback (most recent call last):
File "D:\pythonProject\learnPython\hello_python.py", line 30, in
driver.find_element_by_xpath('/html/body/div[3]/div/div/header/div/div/div[2]/div[2]/span').click()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'click'