错误大致为:
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot get automation extension
from unknown error: page could not be found: chrome-extension://aapnijgdinlhnhlmodcfapnahmbfebeb/_generated_background_page.html
(Session info: chrome=65.0.3325.181)
(Driver info: chromedriver=2.28.455520 (cc17746adff54984afff480136733114c6b3704b),platform=Windows NT 10.0.15063 x86_64)
上学期的爬虫代码,然而这学期就不好使了,主要是使用selenium时send_keys方法出现的错误,查了下资料,有人说是用set_value方法就好,试了一下,并不行。。。可能我姿势有问题
试着更新了一下chromedriver的版本,没有报错,完美解决。