Jay
Jay

Reputation: 69

Running Selenium Tests through Linux Server

This is a general question, but I want to run my Selenium tests on a cloud Linux Server. I am accessing this server using PuTTY, which is just a terminal.

I was wondering how I could get my Selenium scripts to run on this VM.

Currently I have a Selenium Grid set up with physical machines, I just do not know how to set one up through a server where the only communication I have with it is through PuTTY and a terminal.

Upvotes: 2

Views: 6552

Answers (2)

Java_deep
Java_deep

Reputation: 74

You can also use PhantomJS to do a headless Automation, that doesn't need any GUI installation on Server.

Upvotes: 1

ddavison
ddavison

Reputation: 29032

To run Selenium from a Linux server that is "terminal only", as you put it, is to install a GUI inside of the server.

The most common GUI to use, is Xvfb. There are plenty of tutorials out there on how to run GUI programs like Google Chrome and Mozilla Firefox through Xvfb.

Upvotes: 5

Related Questions