This then needs to be paired with your selinium code : chrome_path = r'/usr/local/bin/chromedriver' #path from 'which chromedriver'ĭriver = webdriver.Chrome(executable_path=chrome_path)ĭriver = webdriver.Chrome(executable_path=os.popen('which chromedriver').read().strip())īrew cask install google-chrome Solution no. The current working command to install chromedriver from brew, since the previously accepted answer has been outdated unfortunately. Splinter and similar frameworks for browser automation rely on external modules being installed and callable in PATH.Įdit: chromedriver migrated from homebrew/core to homebrew/cask Solution no. The easiest way to resolve this is on a Mac is to: brew cask install chromedriver
Thank you in advance and will be sure to upvote/accept answer! How to solve this problem? Solution no. How can I go about resolving the issue using Mac?
I did the following but came across the error: