docs: def getWindow(self):
          """ Returns the title of the main window of the currently open app.
  
          Returns an empty string if no match could be found.
          """
          if self.getPID() != -1:
              return PlatformManager.getWindowTitle(PlatformManager.getWindowByPID(self.getPID()))
          else:
              return ""