driver = webdriver.Chrome(chrome_options=opt)
driver.get("https://www.google.com/")
driver = webdriver.Chrome(executable_path="path/to/chromedriver.exe", chrome_options=opt)
driver.get("https://www.google.com/")
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
opt = webdriver.ChromeOptions()
opt.add_argument("user-data-dir=C:\Users\Bar\AppData\Local\Google\Chrome\User Data")