close settings in selenium webdriver python code example Example: close selenium webdriver python driver.close()