pipでモジュールをインストール
pip install selenium
pip install request
# 自分の環境に合わせてバージョン指定する
pip install chromedriver-binary==80.0.3987.106.0
"""
https://pypi.org/project/chromedriver-binary/
https://pypi.org/project/chromedriver-binary/80.0.3987.106.0/
"""
import sys
sys.path.append("/Users/tanakahda/.pyenv/versions/3.7.1/lib/python3.7/site-packages")
from selenium import webdriver
import chromedriver_binary
driver = webdriver.Chrome(executable_path="/Users/tanakahda/.pyenv/versions/3.7.1/lib/python3.7/site-packages/chromedriver_binary/chromedriver")
driver.get("http://www.python.org")
assert "Python" in driver.title
sleep(10)
driver.quit()