Command raised an exception: SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 84 code example

Example 1: session not created: This version of ChromeDriver only supports Chrome version 85

pip install webdriver-manager

Example 2: selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 81

from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager

driver = webdriver.Chrome(ChromeDriverManager().install())