예제 #1
0
 public void MoveAndScrollWheelUp(Point point, int clicks, bool sleep = false)
 {
     Log.DebugFormat("Moving cursor to point '{0}' and scrolling up by {1} clicks{2}", point, clicks, sleep ? " (with pauses between actions)" : null);
     publishService.MouseMouseToPoint(point);
     Thread.Sleep(DEFAULT_SLEEP_MS);
     publishService.ScrollMouseWheelUp(clicks);
 }