DeprecationWarning: executable_path has been deprecated, please pass in a Service object
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
ser = Service("C:chromedriver.exe")
op = webdriver.ChromeOptions()
s = webdriver.Chrome(service=ser, options=op)