在使用selenium,Chrome无界面浏览模式与自定义插件加载问题
生活随笔
收集整理的這篇文章主要介紹了
在使用selenium,Chrome无界面浏览模式与自定义插件加载问题
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
Chrome啟用無界面瀏覽模式時(shí),自定義插件是沒法加載的,會(huì)報(bào)以下錯(cuò)誤:
selenium.common.exceptions.WebDriverException: Message: unknown error: failed to wait for extension background page to load: chrome-extension://cdkhikphdegmclnacdiafejfhgfobbie/_generated_background_page.html
from unknown error: page could not be found: chrome-extension://cdkhikphdegmclnacdiafejfhgfobbie/_generated_background_page.html
? (Driver info: chromedriver=2.46.628388 (4a34a70827ac54148e092aafb70504c4ea7ae926),platform=Linux 4.18.0-17-generic x86_64)
總結(jié)
以上是生活随笔為你收集整理的在使用selenium,Chrome无界面浏览模式与自定义插件加载问题的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Grasshopper and Rhin
- 下一篇: mybatis学习(43):一级缓存被刷