Traceback (most recent call last):
File "weather.py", line 126, in <module>
File "weather.py", line 110, in time_control
File "weather.py", line 85, in Task
File "weather.py", line 49, in choice_index
File "selenium\webdriver\remote\webelement.py", line 80, in click
File "selenium\webdriver\remote\webelement.py", line 633, in _execute
File "selenium\webdriver\remote\webdriver.py", line 321, in execute
File "selenium\webdriver\remote\errorhandler.py", line 242, in check_response
selenium.common.exceptions.WebDriverException: Message: unknown error: Element < a href=" " name="O3">...</ a> is not clickable at point (105, 127). Other element would receive the click: <div class="title">...</div>
(Session info: headless chrome=73.0.3683.86)
(Driver info: chromedriver=2.46.628402 (536cd7adbad73a3783fdc2cab92ab2ba7ec361e1),platform=Windows NT 10.0.17763 x86_64)
[2804] Failed to execute script weather
我只导入了selenium,time和datetime,selenium也成功一起打包了,自己电脑上运行没问题,传给别人就用不了报错。