I want to run a Selenium script on a remote server. I am using Chrome as the browser, but there is no Chrome (or any other browser) on the server. I know I can use headless mode so it doesn't physically open a browser, but would that option work if there isn't actually any browser (the server does have internet connectivity)?
I was also looking at Selenium remote webdriver. For that, would I have to install the selenium server on a server that actually does have Chrome browser and then point it to that server?
In other words, I have a Selenium test script that I run locally (where I do have Chrome browser). Is it possible run this on a server that doesn't have any browsers? I am trying to centralize this so that anyone on my team can run the script by creating a job out of it. Right now it is only local.