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