how to close only the open webpage in selenium python code example Example: how to close a webpage using selenium driver python driver.quit()