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