güncel sürüm için:
pip install webdriver-manager
from webdriver_manager.chrome import ChromeDriverManager
from selenium.webdriver.chrome.service import Service
from selenium import webdriver
#otomatik güncel sürücüyü indirip kur - çalıştırmak için
service = Service(ChromeDriverManager().install())
options = webdriver.ChromeOptions()
# otomatik olarak kapatmasını önlemek için kullanılır.
options.add_experimental_option("detach", True)
driver = webdriver.Chrome(service=service , options=options )