I have been able to get Kantu macros running via command line locally on my Mac using Chrome. I’ve done this by simply passing the HTML file into Chrome as a file, but unfortunately, this needs to launch Chrome and there is no headless option (unlike selenium-side-runner).
My intention is to run our Selenium side files in Kantu on our EC2 instance that hosts Jenkins. I had envisaged that I would be able to install Kantu on this instance and call the HTML files via a script that is executed as part of a Jenkins job.
However, I suspect that in order to do this, I will need to install the Chrome Kantu extension on this instance (as EC2 instances do not come with a GUI access and only ssh, I will first need to install a GUI), as well as the modules.
But even if I am able to do this, as Kantu does not provide a headless mode, I am not sure if I will be able to execute these HTML files in an unattended manner. As the aim is to have a Jenkins job that when triggered will run through one or more macros that tests one of our web applications, which we can monitor via logs sent out as a post-build step.
Therefore, I would like to know how Kantu supports CI/CD through Jenkins, as I cannot see how this will work at the moment.
Many thanks for any help.