Is it possible to do web automation (fill form, click button, download file, etc) from a website within linux server since it hasn't GUI ?
Long story short, I need to do a little web automation work in a Linux server (without GUI). But so far I use Selenium and as I know that we have to run selenium in a machine with GUI that has a browser app installed. I've been wondering that is it possible to run web automation in this such environment I meant not only using headless mode of selenium because this mode still needs a browser app to be installed, moreover, I haven't found any article on the internet that discuss this.
Asked
Active
Viewed 26 times
0

Mands
- 37
- 6
-
1You *still* need a browser unless you enjoy parsing and executing JS codes manually, but the server itself can be headless. https://stackoverflow.com/questions/53657215/running-selenium-with-headless-chrome-webdriver I've a couple of VPS doing exactly that, automating and even taking screenshots (you can set the virtual window size) without any DE. – Martheen Dec 15 '22 at 05:19