Is it possible to run the job scheduled in Jenkins to run in the GUI? like we run in a head mode in the local machine. We are recording the automation scripts written in Selenium while running on the local machine, we want to achieve this by scheduling the job in Jenkins.
I don’t have much idea, hence requesting the experts in the community. Any suggestions will be greatly appreciated.
Sure, as long as the Jenkins agent is running in a GUI context.
On a Windows computer, that means the Jenkins agent needs to be started from a batch file or Powershell script of a user that is logged into the Windows desktop.
On a Linux computer, that technique also works and it may be possible to use a virtual frame buffer like the one provided by the Xvfb plugin. I assume that macOS, FreeBSD, and other Unix variants have similar capabilities.