code: def wait_for_click(self, button, timeOut=10.0):
          
          button = int(button)
          w = iomediator.Waiter(None, None, button, timeOut)
          w.wait()
docs: Wait for a mouse click
          
          Usage: C{mouse.wait_for_click(self, button, timeOut=10.0)}
  
          @param button: they mouse button click to wait for as a button number, 1-9
          @param timeOut: maximum time, in seconds, to wait for the keypress to occur