how to close current tab in chrome using selenium webdriver python code example Example: selenium close current tab driver.close();