code: def close_other_windows(self):
          
          main_window_handle = self.current_window_handle
          for window_handle in self.window_handles:
              if window_handle == main_window_handle:
                  continue
              self.switch_to_window(window_handle)
              self.close()
          self.switch_to_window(main_window_handle)
docs: Closes all not current windows. Useful for tests - after each test you
          can automatically close all windows.