I was going through the selenium learning and when I was exploring interaction with keyboard and mouse topic, I found this code.
With the help of Robot class,perform Enter :
The Main Difference is Actions class simulates with mouse and keyboard and Robot class enables the actual mouse and keyboard so you can see the movement of the mouse cursor.
For more Details please Click on this Link -> Robot class in Selenium