code: def _close_tab(self):
          
          old_tab = self.driver.current_window_handle
          self.driver.execute_script('''window.open("about:blank", "_blank");''')
          self.driver.switch_to.window(old_tab)
          self.driver.close()
          self.driver.switch_to.window(self.driver.window_handles[0])
docs: Create a new tab and close the old one
          to avoid idle page resource usage