from selenium import webdriver path="C:ProgramsPython36BrowersDriverchromedriver.exe" driver=webdriver.Chrome(path) driver.get("http://www.yahoo.com") driver.close() driver.quit()