close the current tab in selenium c# code example Example: selenium close current tab driver.close();