python close chromedriver properly code example Example: close selenium webdriver python driver.close()