Chrome driver stopped working for Chrome browser version 54 with the latest Chrome driver 2.24

前端 未结 4 1978
星月不相逢
星月不相逢 2020-12-16 14:35

Today the latest build for chrome browser version got installed automatically which is now 54.0.2840.71 m (64-bit). I am unable to drive the browser using the latest Chrome

4条回答
  •  无人及你
    2020-12-16 14:50

    The whole chain needs to be aliged to version which support what they control: Selenium -> Selenium Chrome Driver -> ChromeDriver -> Chrome.

    Regarding Chrome Driver:

    See the other answers for traditional installation.

    For Apple / MacOS with Brew, you need to:

    1. Open chrome, go to Chrome -> About Chrome -> check if there is a prompt to restart chrome to start using the new version.
    2. Upgrade ChromeDriver through brew:

      brew cask upgrade chromedriver
      

    The version of chromedriver is nowadays aligned with Chrome, so Chrome 80 comes with ChromeDriver 80. It seems to appear in Brew very soon after Chrome.

    Regarding Selenium ChromeDriver: Don't forget to upgrade to the latest version of selenium-chrome-driver (along with the rest of Selenium deps) which knows how to operate the latest ChromeDriver.

提交回复
热议问题