from selenium import webdriver
with webdriver.Chrome() as driver:
みたいに書く