xiaoxiao_cao 发表于 2017-10-17 14:37:24

mac电脑,python+selenium,将浏览器窗口最大化,报错

mac电脑,python+selenium,将浏览器窗口最大化,报错。怎么回事呢?
driver.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
页: [1]
查看完整版本: mac电脑,python+selenium,将浏览器窗口最大化,报错