簡體   English   中英

selenium - Chromedriver- 擴展 - Python / crx to crx3

[英]selenium - Chromedriver- extension - Python / crx to crx3

由於谷歌更新了 chrome,我無法在 selenium 中將 crx 擴展添加到 chromedriver,它會引發錯誤

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? 我在互聯網上到處搜索,但沒有解決方案。 非常感謝

我的搜索結果沒有成功> WebDriverException:消息:未知錯誤:無法處理來自未知錯誤的擴展#1:CRX驗證失敗:3

- 轉到 chrome://extensions/ - 在右上角,打開開發者模式。 -單擊加載解壓。

selenium 應該可以做到這一點。

或者,獲取舊版本的 chromedriver? https://sites.google.com/a/chromium.org/chromedriver/downloads

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM