关于:selenium.common.exceptions.WebDriverException: Message: unknown error: cannot get automation exte

太阳照常升起,脚本依旧还是昨天的脚本,为啥今天就报错了呢?
先说明下哪里报错了,当我想要maximize_window()时,报错:
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=62.0.3202.89)
(Driver info: chromedriver=2.28.455520 (cc17746adff54984afff480136733114c6b3704b),platform=Windows NT 10.0.15063 x86_64)
有点不知所措。。。。。
冷静想想后,可能是驱动的问题,之前遇到过这个坑,果然了,换了个最新的谷歌浏览器驱动就好了。。。。

你可能感兴趣的:(Python)