code: async def take_control(self, password):
          
          cmd = "takecontrol %s" % password
          return await asyncio.wait_for(
              self._protocol.send_command(cmd), timeout=self._timeout
          )
docs: Take control of QTM.
  
          :param password: Password as entered in QTM.