51Testing软件测试论坛

标题: mac电脑,python+selenium,将浏览器窗口最大化,报错 [打印本页]

作者: xiaoxiao_cao    时间: 2017-10-17 14:37
标题: 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




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2