Running selenium on MacOS using chromedriver

pip install selenium
brew cask install chromedriver
chromedriver --version
from selenium import webdriver# Initialize the driver
driver = webdriver.Chrome()
# Open provided link in a browser window using the driver
driver.get("https://google.com")
unknown error: cannot find chrome binary
Chrome version must be between 70 and 73
from selenium import webdriver
import time

driver = webdriver.Chrome()
driver.get("https://my.wobbjobs.com/jobs")
time.sleep(5)
driver.quit()

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Kelvin

Kelvin

Full-stack software developer. #WebDev #Programming