selenium


(雪柒) #1

selenium.common.exceptions.WebDriverException: Message: unknown error: call function result missing 'value'报错!

"C:\Program Files\Python36\python.exe" C:/Users/Administrator/PycharmProjects/untitled1/web_bs.py Traceback (most recent call last): File "C:/Users/Administrator/PycharmProjects/untitled1/web_bs.py", line 12, in g.send_keys("world") File "C:\Program Files\Python36\lib\site-packages\selenium\webdriver\remote\webelement.py", line 479, in send_keys 'value': keys_to_typing(value)}) File "C:\Program Files\Python36\lib\site-packages\selenium\webdriver\remote\webelement.py", line 628, in _execute return self._parent.execute(command, params) File "C:\Program Files\Python36\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 314, in execute self.error_handler.check_response(response) File "C:\Program Files\Python36\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: unknown error: call function result missing 'value' (Session info: chrome=66.0.3359.181) (Driver info: chromedriver=2.32.498550 (9dec58e66c31bcc53a9ce3c7226f0c1c5810906a),platform=Windows NT 10.0.16299 x86_64)

求解?
哪位大佬知道


(1024) #2

好像是调用函数的时候缺少一个值,大概也许是你漏给关键参?不是很清楚,坐等大佬解释。