【问题标题】:ValueError: There is no such driver by urlValueError:url没有这样的驱动程序
【发布时间】:2022-10-15 16:48:31
【问题描述】:

嗨,我在带有 Apple M2 芯片的 Mac 上使用 Selenium,从 10 天以来,我一直收到以下错误(最初我没有这个错误,但我换了电脑,现在我不能再使用 Selenium):

ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/106.0.5249/chromedriver_mac64_m1.zip

我阅读了有关此问题的以下主题:

https://groups.google.com/g/chromedriver-users/c/JRuQzH3qr2c?pli=1

https://github.com/SergeyPirogov/webdriver_manager/issues/443

但我不明白如何解决这个问题。

我尝试更新 webdriver-manager,但仍然遇到同样的错误。

我还在这里https://sites.google.com/chromium.org/driver/ 下载了最新版本的 chromedriver,但后来不明白下一步该做什么。

任何帮助或 cmets 将不胜感激。

【问题讨论】:

    标签: selenium-chromedriver


    【解决方案1】:

    在这里找到这个 - https://github.com/SergeyPirogov/webdriver_manager/pull/445

    pip uninstall webdriver_manager
    pip install git+https://github.com/SergeyPirogov/webdriver_manager@master
    

    【讨论】:

      【解决方案2】:

      尝试了这些方法,但我有同样的错误;

      pip uninstall webdriver_manager
      
      pip install git+https://github.com/SergeyPirogov/webdriver_manager@master
      

      【讨论】:

        猜你喜欢
        • 2012-11-21
        • 2020-06-25
        • 1970-01-01
        • 2021-08-04
        • 2019-09-20
        • 2023-03-03
        • 2015-12-15
        • 1970-01-01
        • 2021-10-14
        相关资源
        最近更新 更多