There are two pieces of small insanity that one will experience when being a professional web developer running tests using Selenium or Chrome driver under macOS Sonoma

1/ ChromeDriver gets attached to an old version, causing the security vulnerability shown here:

       Selenium::WebDriver::Error::SessionNotCreatedError:
        session not created: This version of ChromeDriver only supports Chrome version 121
        Current browser version is 119.0.6045.105 with binary path /Applications/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing

This small insanity seems to crop up with the way Brew installs chromedriver.

Chrome Driver for Testing cannot be explicitly allowed to be run by a third party developer, and continually shows a warning message for each and every test that is run:

Run brew install chromedriver to update chrome driver, then

run xattr -d com.apple.quarantine /opt/homebrew/bin/chromedriver

https://apple.stackexchange.com/questions/466543/the-allow-anyway-button-on-the-was-blocked-from-use-because-it-is-not-fro

By Jason

Leave a Reply

Your email address will not be published. Required fields are marked *