Exemplo n.º 1
0
 public void MoveAndLeftClick(Point point, bool sleep = false)
 {
     Log.DebugFormat("Moving cursor to point '{0}' and left clicking{1}", point, sleep ? " (with pauses between actions)" : null);
     publishService.MouseMouseToPoint(point);
     Thread.Sleep(DEFAULT_SLEEP_MS);
     publishService.LeftMouseButtonClick();
 }