import os
from selenium import webdriver
os.environ['PATH'] += r"C:/ChromeDriver"
driver=webdriver.Chrome()
When I run the code, the chrome open and then close in seconds.
In terminal it shows the output as:
Plz, help me. I'm new to selenium.
Note: I installed the chromedriver according to my chrome version.