Create service for selenium

install selenium on client part

sudo yum install centos-release-scl # install SCL
sudo yum install python27
scl enable python27 bash
pip install --upgrade pip
yum install gcc
pip install psutil
pip install -U selenium

install selenium and java support units on server part

selenium-server file need:

  1. Run.

start_selenium_server.bat
java  -jar selenium-server-standalone-3.6.0.jar

Create service

1.Download tools : srvany.exe and instsrv.exe from microsoft.

2.Put them into C:\software\python\selenium\

3.Run cmd.

4.Add new key to registry

5.Start service and set automatic start

Last updated