Run Selenium Server as a Windows Service with AlwaysUp

How to Run Selenium Remote Control (RC) Server as a Windows Service with AlwaysUp

Ensure that the Selenium server component is available to serve your testing needs as soon as your PC boots

Selenium RC is a tool supporting the automated testing of web sites. The server component listens for requests to orchestrate tests and having it available 24/7 is a distinct advantage/requirement in many environments.

To configure the Selenium RC Server with AlwaysUp:

  1. Download and install AlwaysUp, if necessary.

  2. Download and install the Java runtime environment (JRE), if necessary. Please make a note of where you installed it as this will be used in a later step.

  3. Download the Selenium Server JAR file, if necessary. Save it to a well known location. We have downloaded version 2.13.0 (selenium-server-standalone-2.13.0.jar) and placed it in C:\Selenium.

  4. Start AlwaysUp.

  5. Select Application > Add to open the Add Application window:

    Add Application

  6. On the General tab:

    • In the Application field, enter the full path to the java executable. If you installed Java in the default location, this is

      C:\Program Files\Java\jre6\bin\java.exe

    • In the Arguments field, specify:

      -Xrs -jar C:\Selenium\selenium-server-standalone-2.13.0.jar

    • In the Name field, enter the name that you will call the application in AlwaysUp. We have used Selenium Server but you can specify almost anything you like.

    Selenium Windows Service: General Tab

  7. By default, a java will show a command window when it runs Selenium. This can be useful for debugging purposes, but if you wish to avoid seeing it, click over to the Logon tab and check the When a user logs on, don't show the application's windows... box. Note: You may want to omit this step until you have confirmed that Selenium is working properly.

    Selenium Windows Service: Logon Tab

  8. Click over to the Startup tab and check the Ensure that the Windows Networking components have started box. This informs AlwaysUp that Selenium server needs TCP/IP networking support to do its work.

    Selenium Windows Service: Startup Tab

  9. Click the Save button. In a couple of seconds, an application called Selenium Server will show up in the AlwaysUp window. It is not yet running though.

    Selenium Windows Service: Created

  10. To start the server choose Application > Start "Selenium Server".

    Selenium Windows Service: Running

  11. That's it! Next time your computer boots, Selenium Server will start up immediately, before anyone logs on. We encourage you to edit the entry in AlwaysUp and check out the many other settings that may be appropriate for your environment.

Selenium Server not working properly as a Windows Service?

  • From AlwaysUp, select Application > Report Activity > Today... to bring up a HTML report detailing the interaction between AlwaysUp and your application. The AlwaysUp Event Log Messages page explains the more obscure messages.
  • To capture diagnostic output and error messages from Java.exe, edit your application in AlwaysUp, check the Capture output to this log file box on the Extras tab and specify the path to a new text file. Please review the contents of the file after a failed run.
  • Consult the AlwaysUp FAQ for answers to commonly asked questions and troubleshooting tips
  • Contact us and we will be happy to help!

Download & Try it Free!

Download AlwaysUp and Run as a Service Today! Version 15.1

7.9 MB Installer
Our 12,000+ customers include...
Compatible with Windows 11 Compatible with Windows Server 2022 Compatible with Windows 10
Over 94,000 installations, and counting!
AlwaysUp is number 1! Run as a Service with AlwaysUp

Rock-solid for the past 19+ years!