code: def waitForCreation(self, timeout=10, notification='AXCreated'):
          
          callback = AXCallbacks.returnElemCallback
          retelem = None
          args = (retelem,)
  
          return self.waitFor(timeout, notification, callback=callback,
                              args=args)
docs: Convenience method to wait for creation of some UI element.
  
          Returns: The element created