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