Unzipping this gave me a chromedriver binary file. I have Chrome 85 so I downloaded the chromedriver_mac64.zip file from Message: session not created: This version of ChromeDriver only supports Chrome version 85 Without using homebrewĬhromeDriver is available from the official website here: Knowing how to upgrade an existing version is useful if you are seeing an error like this one: To upgrade an existing installation do this: brew upgrade chromedriver -cask You still need to run it once in the terminal chromedriver to get the macOS error, then allow it in the Security & Privacy preferences - see below. This also ensures chromedriver is on your path, which means you don't need to use an explicit chromedriver_path later on. This is by far the easiest option: brew install chromedriver -cask Install the chromedriver binary If you have homebrew I needed to run Selenium on macOS for the first time today. Simon Willison’s TILs Installing Selenium for Python on macOS with ChromeDriver Installing Selenium for Python on macOS with ChromeDriver | Simon Willison’s TILs
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |