I used to use this code:
from selenium import webdriver desktop_browser_list = [webdriver.Chrome("./drivers/chromedriver")]
But then Chrome apparently got fancier and doesn’t work with the old chromedriver. So I downloaded the new version, but it threw various errors.
So, now I have to switch to
from selenium import webdriver options = webdriver.ChromeOptions() options.binary_location = "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" desktop_browser_list = [webdriver.Chrome(executable_path="./drivers/chromedriver", chrome_options=options)]