I need to emulate mouse moving and scroll down with mouse wheel in Java. I've found following solution:
Robot robot = new Robot();
robot.mouseMove(1850, 300);
robot.mouseWheel(10);
But this code perform moving and scrolling with real mouse. I use Jenkins to run 5 browsers on a machine. And this solutions doesnt work becouse one browser may overlay other. There is Actions class. In this class there're methods for scrolling to WebElements that using programmatically created mouse. Is it possible to emulate scrolling with mouse wheel in similar to Actions class way or something other?