DeprecationWarning: executable_path has been deprecated, please pass in a Service object
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
s=Service('C:/Users/itsmycode/Documents/Dev/chromedriver.exe')
browser = webdriver.Chrome(service=s)
url='https://www.google.com'
browser.get(url)