Is it possible use keyboard actions without using the "PyAutoGUI" library on jenkins?
You can workaround this by installing VNC server and run jenkins slave within it. Then browser will start with gui and test will work.
I am using Robotframework to create test scripts for an application. This application requires many keyboard click/action combinations that are unavoidable. Right now I am using the PyAutoGui library to simulate these actions and they are working fine, but when I run them through a headless browser on Jenkins, those actions are not registered. 
The error that I get is "PyAutoGUI fail-safe triggered from mouse moving to upper-left corner. To disable this fail-safe, set pyautogui.FAILSAFE to False."
However, even after changing the Failsafe value to false, the keyboard action is still not captured. 
The weird thing is that if someone is physically logged into the Jenkins box while the tests are running, the library works perfectly fine, but when running headless, the library breaks. 
Is there another library I can possible use or a possible work around for this situation?
Thanks in advance!