code: def current_window_handle(self):
          
          if self.w3c:
              return self.execute(Command.W3C_GET_CURRENT_WINDOW_HANDLE)['value']
          else:
              return self.execute(Command.GET_CURRENT_WINDOW_HANDLE)['value']
docs: Returns the handle of the current window.
  
          :Usage:
              ::
  
                  driver.current_window_handle