code: def maximize_window(self):
          
          params = None
          command = Command.W3C_MAXIMIZE_WINDOW
          if not self.w3c:
              command = Command.MAXIMIZE_WINDOW
              params = {'windowHandle': 'current'}
          self.execute(command, params)
docs: Maximizes the current window that webdriver is using