自google更新chrome以来,我无法在selenium中的chromedriver中添加crx扩展名,这会引发错误
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: cannot process extension #1
from unknown error: CRX verification failed to parse extension header. Chrome supports only CRX3 format. Does the extension need to be updated?
有人知道如何将crx扩展名转换为crx3吗?我在互联网上到处都有搜索,但没有解决办法。非常感谢
-转到chrome:// extensions /-在右上角,打开开发人员模式。-单击“打开包装”。
应该能够用硒来做到这一点。
或者,换成旧版的chromedriver吗?https://sites.google.com/a/chromium.org/chromedriver/downloads