SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 74 though Chrome v74 is installed

后端 未结 4 384
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-19 16:23

I am starting to play around with selenium in python, and when i try to run this code it just pops an error that this version of chromedriver only supports version 74 of chr

4条回答
  •  情歌与酒
    2021-01-19 17:15

    This most commonly happens when chrome itself updates, but you have not updated the local ChromeDriver version to match your locally installed version of chrome.

    In chrome, click the three dots, in the upper right, Help --> About Google Chrome. this will show your version of chrome. Or chrome://settings/help

    Download the same version from https://chromedriver.storage.googleapis.com/index.html

    Save that to the path defined, as in @DebanjanB's answer.

提交回复
热议问题